Marcelo Matus
2febdc6ecb
more fixes for exceptions and ref.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:17:15 +00:00
William S Fulton
d6de9a311f
More comprehensive exception specification tests added.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:09:25 +00:00
William S Fulton
826afba4d8
Added SWIGTYPE & and SWIGTYPE * typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:08:22 +00:00
William S Fulton
4c472ec20e
Fix for exception specifications that are references. Also improves the generated
...
exception declarations in the catch handler for pointers - a pointer is used
instead of a reference to a pointer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:03:46 +00:00
Marcelo Matus
7e55132f60
Fix generation of multiple throws
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 03:34:40 +00:00
Marcelo Matus
f5fb952e36
change char[] and char[ANY] to behave more like char* as default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 20:40:32 +00:00
Marcelo Matus
3a96cf14ec
remove warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:27:24 +00:00
Marcelo Matus
a6d2269a26
add template_opaque
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +00:00
Marcelo Matus
9c6a029e75
fix anon enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
da6e5673e8
add template + opaque type test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:44:33 +00:00
Marcelo Matus
92e43dda16
fixes on test related to member vars
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:36:50 +00:00
Marcelo Matus
885c23dd72
added global char[] arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:34:41 +00:00
Marcelo Matus
08718830bf
fixes for const char[]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:29:39 +00:00
Marcelo Matus
12af360d6f
fixes for char[], const char[], and cleaning wchar_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:25:31 +00:00
Luigi Ballabio
d062b8cce8
Python typemap for FILE* (in behalf of Marcelo)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00
Ahmon Dancy
e465a6ae6a
See CHANGES.recent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 21:22:39 +00:00
William S Fulton
ca0cb04690
unnamed global enum variables support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:35:16 +00:00
William S Fulton
7592e71847
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:32:09 +00:00
William S Fulton
88bee9d9df
New enum wrapping options implemented and bug fixes:
...
Proper Java enums
Typesafe enum pattern
Original approach using integers for each enum item
'Type unsafe enums' - using static final integers in a Java class named after the C/C++ enum name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:22:55 +00:00
William S Fulton
97f5ccb180
New enum wrapping options implemented and bug fixes:
...
Proper C# enums
Typesafe enum pattern
Original approach using integers for each enum item
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:19:36 +00:00
William S Fulton
ead1d3ac6a
enumvalueex attribute now set during the type pass
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:14:58 +00:00
William S Fulton
f2100be746
Unnamed enum instance in global scope fix
...
enumvalueex attribute now set during the type pass
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:13:55 +00:00
William S Fulton
990156dff1
Enum typemaps taken out of java.swg
...
New typemap files for the different C/C++ to Java enum wrapping approaches.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:09:17 +00:00
William S Fulton
064082e9b5
Enum typemaps taken out of csharp.swg.
...
New typemap files for the different C/C++ to C# enum wrapping approaches.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:08:04 +00:00
William S Fulton
c88daea001
New default C/C++ enum wrapping approach which uses the type safe enum pattern for Java and C#
...
Also tests for Java and C# simple enums (enum items mapped to integers)
Also proper Java (J2SDK1.5) enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:05:40 +00:00
William S Fulton
3d51247b24
Further enum wrapping approaches and tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:02:56 +00:00
William S Fulton
1b1dadc9de
New default Java enum wrapping approach which uses the type safe enum pattern
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +00:00
William S Fulton
80b89d662c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:49:00 +00:00
William S Fulton
17e443899d
JVM link failure on some systems fixed when using std_vector.i.
...
Also adds default vector constructor for use from Java.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:46:13 +00:00
Matthias Köppe
b3cd2d3849
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 16:18:12 +00:00
Matthias Köppe
54fd1425f4
[Guile] In -scm mode, wrap several SWIG runtime functions
...
and export them into the module (Swig swigrun). The
runtime module is now built with "module" linkage.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 15:48:16 +00:00
Matthias Köppe
2593d326f6
04/24/2004: mkoeppe (Matthias Koeppe)
...
[Guile] New runtime functions SWIG_PointerAddress,
SWIG_PointerType, SWIG_IsPointerOfType, SWIG_IsPointer.
[Guile] In -scm mode, wrap several SWIG runtime functions
and export them into the module (Swig swigrun). The
runtime module is now built with "module" linkage.
[Guile] GOOPS proxy objects now also print the pointer
address of the C object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 15:47:45 +00:00
Luigi Ballabio
c25bb79fdb
Fixed bug [948521]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:12:20 +00:00
Luigi Ballabio
2e74736b7f
Fixed bug [948583]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:07:39 +00:00
Luigi Ballabio
f6a474cafa
Enable Perl automatic stringification (see 2004/05/13 post from J.Slade)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 12:49:42 +00:00
Lyle Johnson
fea32002a2
Incorporated Kou's patch for the Ruby module's %import directive, so
...
that nested module names are imported correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:52:43 +00:00
Lyle Johnson
71c0e895e2
Added a %warnfilter to the redefined.i test case to suppress warning
...
message from Ruby module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:43:11 +00:00
Lyle Johnson
bfcc5d8d52
Added a number of %warnfilter directives to the enum_thorough.i test
...
to suppress warning messages from the Ruby module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:37:33 +00:00
William S Fulton
3ff1711d49
patch by Kevin Smith to emit directors when %feature("director") is specified for a class with no virtual methods, but a virtual destructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-12 21:18:09 +00:00
William S Fulton
ae8e4a8a6c
Removed spurious junk so the file compiles
...
strdup removed - not ANSI and not on my system
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-12 20:56:17 +00:00
Matthias Köppe
d5dda10c12
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:56:43 +00:00
Matthias Köppe
187286ab8c
Use the new common runtime function SWIG_TypePrettyName.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:55:32 +00:00
Matthias Köppe
2eacba6ef9
New common runtime function SWIG_TypePrettyName.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Ahmon Dancy
53db012b12
See CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-03 17:10:20 +00:00
John Lenz
1439a8f7c9
Updated chicken documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 22:20:53 +00:00
John Lenz
c0a2aea4cc
Fix bug 782468
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
Ahmon Dancy
cccaf2fa16
Added typemaps.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-30 23:06:15 +00:00
Ahmon Dancy
7f682c8d4a
Added Allegro CL module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 23:00:41 +00:00
Matthias Köppe
2914c927cf
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 18:38:40 +00:00
Dave Beazley
827cdb33f7
Commit test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 18:11:46 +00:00