Commit graph

137 commits

Author SHA1 Message Date
Dave Beazley
2acbff274a Added void prototype. [ 635347 ] Compilation warning from libpy.c.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:13:44 +00:00
Logan Johnson
212275f45d Add range checking for NUM2USHRT macro, per SF Bug #675353.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 19:22:36 +00:00
Dave Beazley
41307d05ba Removed some unused variable warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Luigi Ballabio
45401fca51 Fixed typecheck for bools
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Dave Beazley
6cfc64197b Fixed [ 689040 ] Missing return value in std_vector.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
Luigi Ballabio
cd8f6737cb Missing typecheck for bool passed as value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:54 +00:00
Luigi Ballabio
524636ef1c Allow returning std::strings with embedded null characters (why one would want to do this is beyond my understanding)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Art Yerkes
cb107801fb corrections for std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:32:40 +00:00
Art Yerkes
c3e98e3627 typecheck: Foolish omission of break;
mlheading and mliheading: added make_x and get_x accessor and constructor
functions for C_xxx types.  This makes the system a bit more accomodating.
ocaml.swg: Corrected one SWIGSTATIC
std_vector.i: First shot at a working implementation (with example).
typemaps.i: Correction to handling of SWIGTYPE ...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:29:34 +00:00
Jonah Beckford
d85ba4faa6 Defined SWIG_exception for for CHICKEN.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:59:47 +00:00
Jonah Beckford
870e6457d1 Initial additions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:47:12 +00:00
Dave Beazley
ab423f43dd Added John's perl5 patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-14 18:04:21 +00:00
William S Fulton
38c4c0b7d4 bool typemap mods for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 22:41:10 +00:00
William S Fulton
079829c86a SWIGTYPE & varin typemap fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:24:40 +00:00
Marcelo Matus
b3af12ffb7 Fixed an overload error with the complex type (missing typecheck)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 01:48:54 +00:00
William S Fulton
8bdec0c0a9 bool mods for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:41:07 +00:00
William S Fulton
be2645fa50 bool mods for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:33:53 +00:00
William S Fulton
78b1e520dd Fixes for SWIGTYPE& varin and varout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:07:42 +00:00
William S Fulton
579c2b7d87 Removed intermediate variable for SWIGTYPE out typemap as suggested by Heiner Petith
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-09 23:51:55 +00:00
Dave Beazley
cc945e2bf4 Fixed [ 651355 ] Syntax error with cstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:13:11 +00:00
William S Fulton
11dd5c2195 Fixes to SWIGTYPE& varin and varout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:11:10 +00:00
Dave Beazley
5e5d35c199 Partial fix of [ 675353 ] rubyhead.swg: missing cast at NUM2USHRT.
Lyle, can you take a look at this:

http://sourceforge.net/tracker/index.php?func=detail&aid=675353&group_id=1645&atid=101645


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:10:14 +00:00
William S Fulton
410b833cf7 bool typemaps rewrite to keep Visual C++ happy
Fixes to SWIGTYPE& varin and varout typemaps


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:09:30 +00:00
William S Fulton
12edcac7ae bool typemap rewrite to keep Visual C++ happy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:08:50 +00:00
Luigi Ballabio
881217f965 Typemap fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 11:02:04 +00:00
Luigi Ballabio
9e382dd1d8 Allow objects to be modified during iteration (and minor method name change)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:45 +00:00
Luigi Ballabio
a060864465 Using PyLong_Foo where appropriate (I think)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:06 +00:00
Luigi Ballabio
8324a4a252 typechecks were leaking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-18 13:19:41 +00:00
Luigi Ballabio
be4e37e548 A global stl.i works just as well
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Luigi Ballabio
d23f90f6c7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-10 07:50:30 +00:00
Logan Johnson
172f4767fa Use the new PIKE_MODULE_INIT and PIKE_MODULE_EXIT macros for the module
initialization (and finalization) function declarations.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-20 17:35:51 +00:00
Matthias Köppe
706098a420 Fix for generated documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-19 17:32:42 +00:00
Luigi Ballabio
0d298a55e2 Fixed constructors and default arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-12 16:08:26 +00:00
Dave Beazley
57b2255211 Fixed to DYNAMIC typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 15:45:38 +00:00
Dave Beazley
9ecc1d8e86 Add NULL pointer checks for char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-09 17:13:52 +00:00
Dave Beazley
0605a5125c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:10:17 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Masaki Fukushima
6c052b692b Added -feature to ruby/Makefile.swig template
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-02-25 16:07:49 +00:00
Masaki Fukushima
404d161742 Check_Type() added to FILE* typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-02-25 11:22:42 +00:00
Dave Beazley
b170a2204a Updated version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@1006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-01-17 03:02:24 +00:00
Thien-Thi Nguyen
dfe0a2f332 Initial revision
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-01-17 02:00:31 +00:00
Dave Beazley
0d716c43c2 Fixed default argument handling bug reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-21 01:41:13 +00:00
Dave Beazley
ed3fa92f9b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-02 03:06:11 +00:00
Dave Beazley
9918dcc348 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 20:52:02 +00:00
Dave Beazley
34758852c2 new file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-29 03:06:04 +00:00
Dave Beazley
73d5446035 Fixed ambiguous else.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:26:07 +00:00
Dave Beazley
661641eccd Oops. Fixed _SWIG_ConvertPtr name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:24:44 +00:00
Matthias Köppe
8a82c62193 Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 08:36:39 +00:00
Matthias Köppe
88ffd4c691 [Guile] New typemaps for FILE *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:06:17 +00:00
Matthias Köppe
bf6c97e2d3 [Guile] Changed SCHEME_NAME to FUNC_NAME.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 14:00:56 +00:00