Commit graph

566 commits

Author SHA1 Message Date
Marcelo Matus
bba676cae0 fix anoher warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 22:08:48 +00:00
Marcelo Matus
b9bfda7868 using <> when including lib files, fix char{ANY], add char FIXSIZE[ANY], fix pyfragments.swg, fixing *.swg and *.i names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 06:17:35 +00:00
William S Fulton
f0f063f7ae SWIGEXPORT macro simplification, Borland can use the normal Windows convention __declspec(dllexport)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-14 20:08:24 +00:00
Marcelo Matus
ffb44dc7a0 cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:35:23 +00:00
Marcelo Matus
735f6804cd change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:33:18 +00:00
Marcelo Matus
6e36f5d07f change typemap(ignore) to typemap(in,numinputs=0)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:31:39 +00:00
Marcelo Matus
4e4d8679f1 move tuple helper to its own file, and allow the user to redefine fragments through the fragments.i file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-07 09:26:23 +00:00
William S Fulton
96613ca3b5 Commit for Art Yerkes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-02 20:42:10 +00:00
William S Fulton
531719cebd Various warning fixes for Visual Studio 2003 C++ compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:24:24 +00:00
Marcelo Matus
578829d48e add std_except.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:23:05 +00:00
Marcelo Matus
977bef6407 fix warning and possible error for 64bits
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:42:37 +00:00
Marcelo Matus
cebe364967 fix warnings for intel compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 08:07:45 +00:00
Lyle Johnson
cf90d87e77 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 03:33:11 +00:00
Lyle Johnson
4889aadd3d Corrections for Ruby 1.6 compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:37:54 +00:00
Marcelo Matus
b6b1bf4bbc more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:12:02 +00:00
Marcelo Matus
f7640ab44f more solaris fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 02:09:44 +00:00
Marcelo Matus
b975622328 fix for solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 00:02:06 +00:00
Marcelo Matus
24a7abba20 fix Solaris/assign problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-31 20:33:39 +00:00
Marcelo Matus
977a99a2c7 fix solaris warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-31 20:15:54 +00:00
William S Fulton
950771d788 array bounds check fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 22:54:22 +00:00
William S Fulton
d55841d6ea char * and char[] and char[ANY] typemaps tidyup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:35:30 +00:00
William S Fulton
b490b38306 char * and char[] and char[ANY] typemaps tidyup and fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 20:34:57 +00:00
William S Fulton
f6f64410a7 Typemap fix for methods that return char *. The CLR would incorrectly
delete the memory pointed to by char *.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-27 21:49:38 +00:00
William S Fulton
b026a95b59 throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:57:36 +00:00
William S Fulton
61d07f7cae Removed redundant #include of Python.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:17:18 +00:00
William S Fulton
f9c82b3138 added %perlcode directive, patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:16:19 +00:00
William S Fulton
9e8092b902 Patch from Ikegami Tsutomu to fix long long *OUTPUT and unsigned long long *OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:15:41 +00:00
Lyle Johnson
2c12ae87e5 Added "directorout" typemaps for char * and const char * return values.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:57:06 +00:00
Lyle Johnson
d34102d40b Modified the "varin" typemap for a dimensionless char array to generate
a warning message, and to raise an exception if the typemap is actually
invoked at runtime. This is needed to avoid problems for the case when
wrapping an extern char[] declaration, where the array size is truly
unknown.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 01:48:40 +00:00
William S Fulton
052d067feb varin enum SWIGTYPE mods to handle unnamed enums
varin char[] typemap


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:33:46 +00:00
William S Fulton
2631309c2f varin enum SWIGTYPE mods to handle unnamed enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:32:27 +00:00
William S Fulton
abeef193d2 missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:44:54 +00:00
Lyle Johnson
881fecf196 Added a "throws" typemap for enum types. Fixes the broken throw_exception.i
test case for the Ruby module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:34:44 +00:00
Lyle Johnson
d9181829c4 Added "throws" typemaps for std::string and its variants. Fixes broken
test case lib_std_string.i for the Ruby module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:28:05 +00:00
Lyle Johnson
7f71c2696f Added some missing throws typemaps for SWIGTYPE and its variants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:07:55 +00:00
Lyle Johnson
351c6af986 Fixed a little typo in the comments (was "Outnput", changed to "Output").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:31:10 +00:00
Lyle Johnson
89859f2e70 Break the standard Ruby typemaps out into a number of smaller files
which are included by ruby.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:28:07 +00:00
John Lenz
862c8bc74e changed convert_to_bool_ex to convert_to_boolean_ex from patch 891348
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 01:11:06 +00:00
Matthias Köppe
0818500caf Replace hardcoded type specifiers by typemap-based type specifier lookup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 15:28:58 +00:00
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