William S Fulton
bf02521653
various tweaks
...
toString() method support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:21:49 +00:00
William S Fulton
a48bcfceef
duplicate typemaps removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:18:04 +00:00
William S Fulton
a1c7dc1051
Update for new enum wrapping which uses the typesafe enum pattern
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:14:33 +00:00
William S Fulton
4192a5025c
Update for new enum wrapping which uses proper C# enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:13:12 +00:00
amigalemming
6bc393a0b0
modula3: documented some of the conceptions and typemaps, added anchors to modules I refer to
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 17:14:25 +00:00
William S Fulton
de340fa464
more tests added to test all the generic throws typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 08:02:16 +00:00
William S Fulton
fac3662444
array throws typemap added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 08:01:25 +00:00
John Lenz
42afd931c7
Rewrite chicken example and test-suite building code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-30 07:11:26 +00:00
Marcelo Matus
68fff144a9
fixes for new char[] behaviour
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:37:13 +00:00
Marcelo Matus
f0f8a4bfea
more fixes for exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:34:09 +00:00
Marcelo Matus
7598abd1fe
more tests for exception
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:24:53 +00:00
Marcelo Matus
3f8ed3e650
more fixes for exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:19:01 +00:00
Marcelo Matus
354b4f2ccb
more fixes for exceptions and ref.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 23:17:15 +00:00
William S Fulton
9f2060e608
More comprehensive exception specification tests added.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:09:25 +00:00
William S Fulton
796b934b8a
Added SWIGTYPE & and SWIGTYPE * typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:08:22 +00:00
William S Fulton
4d6578deea
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@5940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 15:03:46 +00:00
Marcelo Matus
7cf48c0f25
Fix generation of multiple throws
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-29 03:34:40 +00:00
Marcelo Matus
74f0585c00
change char[] and char[ANY] to behave more like char* as default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 20:40:32 +00:00
Marcelo Matus
f6551a52ae
remove warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:27:24 +00:00
Marcelo Matus
dc24c875e6
add template_opaque
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:13:30 +00:00
Marcelo Matus
adf66c8c62
fix anon enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-28 02:10:02 +00:00
Marcelo Matus
dad66b6ee6
add template + opaque type test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:44:33 +00:00
Marcelo Matus
a55e29d2f3
fixes on test related to member vars
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:36:50 +00:00
Marcelo Matus
ddcb970b0c
added global char[] arrays
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:34:41 +00:00
Marcelo Matus
a04dc64d04
fixes for const char[]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:29:39 +00:00
Marcelo Matus
d0c59e6529
fixes for char[], const char[], and cleaning wchar_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:25:31 +00:00
Luigi Ballabio
95a6fa8edb
Python typemap for FILE* (in behalf of Marcelo)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-26 12:44:38 +00:00
Ahmon Dancy
9edaaf5a7d
See CHANGES.recent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 21:22:39 +00:00
William S Fulton
b6cb23c83e
unnamed global enum variables support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:35:16 +00:00
William S Fulton
db8c57a0b5
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:32:09 +00:00
William S Fulton
5e1804c496
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@5925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:22:55 +00:00
William S Fulton
3e9b0bde05
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@5924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:19:36 +00:00
William S Fulton
915454d6ef
enumvalueex attribute now set during the type pass
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:14:58 +00:00
William S Fulton
ca13628e60
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@5922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:13:55 +00:00
William S Fulton
e7777f2adb
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@5921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:09:17 +00:00
William S Fulton
5767cdfa94
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@5920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:08:04 +00:00
William S Fulton
b84a6d58b4
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@5919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:05:40 +00:00
William S Fulton
ec49fab0da
Further enum wrapping approaches and tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:02:56 +00:00
William S Fulton
b0bad1f717
New default Java enum wrapping approach which uses the type safe enum pattern
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +00:00
William S Fulton
cdd6f1c015
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:49:00 +00:00
William S Fulton
a24ecbb1a5
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@5915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-18 20:46:13 +00:00
Matthias Köppe
68e08149ac
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 16:18:12 +00:00
Matthias Köppe
196113d2d8
[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@5913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 15:48:16 +00:00
Matthias Köppe
bfbbb57ae7
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@5912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 15:47:45 +00:00
Luigi Ballabio
5f4860beb0
Fixed bug [948521]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:12:20 +00:00
Luigi Ballabio
d63e8e6fc3
Fixed bug [948583]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:07:39 +00:00
Luigi Ballabio
f1970a552b
Enable Perl automatic stringification (see 2004/05/13 post from J.Slade)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 12:49:42 +00:00
Lyle Johnson
410af41cae
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@5908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:52:43 +00:00
Lyle Johnson
aff4882c26
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@5907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:43:11 +00:00
Lyle Johnson
5168f3a5d7
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@5906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-15 04:37:33 +00:00