Commit graph

511 commits

Author SHA1 Message Date
William S Fulton
46bffd9636 director enum fixes from Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:51:51 +00:00
Matthias Köppe
9fc10b2f58 Add extern "C" to declaration of scm_init_Swig_swigrun_module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-11 17:10:41 +00:00
Matthias Köppe
b2b5c662ec Define preprocessor symbol SWIG_ALLEGRO_CL.
Fix FF:DEF-FOREIGN-CALL call.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-07 16:55:27 +00:00
William S Fulton
8ecdd9eab9 %csconstvalue added and typecheck fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:14:49 +00:00
William S Fulton
1ed50b305b Support for %javaconstvalue added (better compile time constants)
Support for %feature("except", throws="ExceptionClass") so that any Java exception classes thrown from JNI code can be added to the throws list - handled in the same way as the 'throws' attribute in typemaps -
macros added for this - %javaexception and %nojavaexception


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-27 21:02:38 +00:00
Marcelo Matus
58fc17cb81 fix char[] varout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 23:10:22 +00:00
William S Fulton
4267e2d4d5 Fix for directorin char[ANY] typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:09:33 +00:00
William S Fulton
0901b50f9d Missing char[] typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:07:49 +00:00
Marcelo Matus
a02d064ad6 some performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:14:48 +00:00
Luigi Ballabio
2ee999ed53 Fix in Perl out-typemap for std::vector (thanks to Josh Cherry)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-11 07:37:41 +00:00
John Lenz
c394a8dd9f The guile and chicken _runme scripts are now shared
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-07 05:03:39 +00:00
William S Fulton
ebfd496ff5 javagetcptr typemap replaced by the javabody typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:27:09 +00:00
William S Fulton
0b87a86919 javagetcptr and javaptrconstructormodifiers typemap replaced by the javabody/javabody_derived typemap
javaclassmodifiers typemap now contains the class type


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:26:27 +00:00
William S Fulton
77daf7e813 csgetcptr and csptrconstructormodifiers typemap replaced by the csbody/csbody_derived typemap
csclassmodifiers typemap now contains the class type


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:24:48 +00:00
William S Fulton
56211210f9 csgetcptr typemap replaced by the csbody typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:22:09 +00:00
William S Fulton
ca9959d2cd various tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:46 +00:00
William S Fulton
ac855f9298 various tweaks
ToString() method support


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-31 07:22:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
Matthias Köppe
dbf01e8ce1 Use the new common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:55:32 +00:00
Matthias Köppe
783d69e252 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Ahmon Dancy
8a7c459cda See CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-03 17:10:20 +00:00
John Lenz
2a575da398 Fix bug 782468
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-02 21:24:39 +00:00
Ahmon Dancy
1c79f74da3 Added typemaps.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-30 23:06:15 +00:00
Ahmon Dancy
fef1a09e5a Added Allegro CL module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-27 23:00:41 +00:00
Matthias Köppe
eab20219ec The typemap for FILE * in ports.i now also accepts a regular FILE *
pointer object.  Also a bug with Scheme file ports that are open for
input and output has been fixed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:09:02 +00:00
Matthias Köppe
959ab00630 In -gh mode, fix the "too many initializers" error
which was caused by an incompatible swig_type_info layout.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:08:27 +00:00
Matthias Köppe
6ae154049f Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-26 14:07:02 +00:00
William S Fulton
d346f06722 unnamed enum member variables - less verbose code generation that has a single solution for all compilers. Will only fail silently (no printfs like before) when using compiler switches that force enums to be different size to integers. If anyone ever does this, I will eat my hat
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-22 20:42:37 +00:00
Luigi Ballabio
30fe3353a5 Fix for std::vector Tcl typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Henning Thielemann
1244cec434 support for type FILE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-10 15:34:33 +00:00
Marcelo Matus
68608f907e use tuple in iterator, since is more 'constant' than a list
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 22:00:47 +00:00
Marcelo Matus
d295432509 use inplace +=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:59:38 +00:00
Marcelo Matus
a9b4a82eae fix inplace python opers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 21:58:47 +00:00