Marcelo Matus
26808b6d1c
More fixes for arrays and variables, mostly cosmetic ones.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-18 22:57:05 +00:00
Matthias Köppe
6e6317c9cf
<Dmitriy.Zavin@infineon.com> writes:
...
> I have hacked support to create native mzscheme structures from C
> structures, which includes native structure support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 14:21:33 +00:00
Lyle Johnson
47b80a2945
Corrected some of the "throws" typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 01:07:05 +00:00
Lyle Johnson
de8c669c88
Minor fix for the cpp_enum.i test case, which was broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 00:38:52 +00:00
Lyle Johnson
3bbf2a57df
Added a varin typemap for char[] (Ruby). Fixes broken test case
...
arrays_global.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-14 17:33:18 +00:00
William S Fulton
873d7a850d
Prevent memory leaks in the case of early return from wrapper methods using const std::string & parameters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 20:57:51 +00:00
William S Fulton
98feab7822
Prevent memory leaks in the case of earlier return
...
from wrapper methods using const std::string & parameters. Modified
Mark Traudt patch #951565 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 20:57:08 +00:00
William S Fulton
26b5e7000c
Bug #943783 with patch fixes php char * out typemap NULL values.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 20:56:04 +00:00
Ahmon Dancy
fb0472caa3
case mode fixes for allegrocl module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-03 23:07:45 +00:00
Matthias Köppe
7618305ae1
Move the magic with the (Swig swigrun) module here.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-24 15:21:17 +00:00
Matthias Köppe
0bdfdea410
In -scm mode, SWIG modules now exchange their pointer type information
...
via the Guile interpreter. It is no longer necessary to build a
runtime library or to use -noruntime and -runtime etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-24 15:20:05 +00:00
Matthias Köppe
4c49fc803b
Don't try to do magic with the (Swig swigrun) module in -runtime mode.
...
Move SWIG_Guile_Init in front of type registration, to allow type
system synchronization.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-24 15:19:20 +00:00
Matthias Köppe
87ebbd67ee
Don't depend on the presence of the SWIG-PointerAddress function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-24 15:17:15 +00:00
Matthias Köppe
341ebe5c11
Add a level of indirection for the static variable "swig_type_list".
...
The Guile module uses this to merge type information between modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-24 15:16:31 +00:00
William S Fulton
a593564696
Bools fix from Mark Traudt
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 22:48:27 +00:00
William S Fulton
7304bf51c0
throws typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-23 21:53:04 +00:00
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