Mark Rose
01c38825d4
changed -fdirectors option to %module option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +00:00
William S Fulton
af3ec605e9
long long typemap mods for use with %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
William S Fulton
0baec2d437
long long typemap mods for use with %apply
...
Untested... I don't have pike
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:25:02 +00:00
William S Fulton
7c29b13b93
long long typemap mods for use with %apply
...
Untested... I don't have ocaml
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:22:35 +00:00
William S Fulton
ffc19a9300
long long typemap mods for use with %apply
...
Untested... I don't have chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:20:50 +00:00
Mark Rose
c47494cb7a
polymorphism patch merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Dave Beazley
d1ed2ab72e
Minor patch contributed by Charles Schwieters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 20:09:53 +00:00
William S Fulton
196410bab0
CSharp typemaps - Neil Cause version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:30:17 +00:00
Art Yerkes
67ab95ab49
Proper handling of arrays finally in the works, no special typemaps needed.
...
Some corrections for use with -small.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-01 07:53:24 +00:00
Luigi Ballabio
9d50216d9c
Support for std::map (thanks, Dave)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Art Yerkes
b8490f9c18
Added to typemaps: reference type in/out
...
Strings <=> std::string by value
std::wstring accessible from Ocaml. The string example converts a multibyte
japanese EUC sequence to a single wchar_t sequence if you have the ja_JP.EUC-JP
locale, or similar.
Better handling of reference in types
Corrected problems with & * mismatch in type verifier.
Type verifier now really functional. No more type errors in places they
wouldn't be allowed in C++, unless you work at it.
Added argout_ref example for argout_ref.
Init code now effective (called from let _ = f_<module>_init ())
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 07:09:12 +00:00
Jonah Beckford
cfe7be1eed
Changed module technique from <module_name>- to <module_name>: which
...
conforms with chicken "egg" standard. Got rid of ##csi#run for
relinking the Scheme interpreter as no longer needed. Changed all
documentation to reflect both changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 02:00:15 +00:00
Dave Beazley
57239efcf9
Added void prototype. [ 635347 ] Compilation warning from libpy.c.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:13:44 +00:00
Logan Johnson
71c7bd8442
Add range checking for NUM2USHRT macro, per SF Bug #675353 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 19:22:36 +00:00
Dave Beazley
c4cc62ed46
Removed some unused variable warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Luigi Ballabio
2c29e8ea58
Fixed typecheck for bools
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Dave Beazley
8d3b7440f7
Fixed [ 689040 ] Missing return value in std_vector.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
Luigi Ballabio
a39aa898f0
Missing typecheck for bool passed as value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:54 +00:00
Luigi Ballabio
dc309054dd
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/SWIG@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Art Yerkes
88b15ce253
corrections for std::string.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:32:40 +00:00
Art Yerkes
d69f24e750
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/SWIG@4320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 07:29:34 +00:00
Jonah Beckford
d03f4a7db7
Defined SWIG_exception for for CHICKEN.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:59:47 +00:00
Jonah Beckford
eeace2a394
Initial additions.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-15 01:47:12 +00:00
Dave Beazley
08c3b43b24
Added John's perl5 patches
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-14 18:04:21 +00:00
William S Fulton
8536ff0333
bool typemap mods for Visual C++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 22:41:10 +00:00
William S Fulton
1538bc2831
SWIGTYPE & varin typemap fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:24:40 +00:00
Marcelo Matus
2438a54b2a
Fixed an overload error with the complex type (missing typecheck)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 01:48:54 +00:00
William S Fulton
5956f8dddb
bool mods for Visual C++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:41:07 +00:00
William S Fulton
b8caeeae1b
bool mods for Visual C++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:33:53 +00:00
William S Fulton
1bf736ee80
Fixes for SWIGTYPE& varin and varout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:07:42 +00:00
William S Fulton
d1b1c6285a
Removed intermediate variable for SWIGTYPE out typemap as suggested by Heiner Petith
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-09 23:51:55 +00:00
Dave Beazley
b8000dcfef
Fixed [ 651355 ] Syntax error with cstring.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:13:11 +00:00
William S Fulton
dd2cedbd36
Fixes to SWIGTYPE& varin and varout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:11:10 +00:00
Dave Beazley
5c5abff3ac
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/SWIG@4262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:10:14 +00:00
William S Fulton
562ba55a1a
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/SWIG@4261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:09:30 +00:00
William S Fulton
5dd9257b33
bool typemap rewrite to keep Visual C++ happy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:08:50 +00:00
Luigi Ballabio
28aaf91ab6
Typemap fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 11:02:04 +00:00
Luigi Ballabio
7a8f71fa7c
Allow objects to be modified during iteration (and minor method name change)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:45 +00:00
Luigi Ballabio
3e5a5404ce
Using PyLong_Foo where appropriate (I think)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:06 +00:00
Luigi Ballabio
8199d6bf1d
typechecks were leaking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-18 13:19:41 +00:00
Luigi Ballabio
32e0a3d8e7
A global stl.i works just as well
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Luigi Ballabio
ec0919954c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-10 07:50:30 +00:00
Logan Johnson
c2f148c725
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/SWIG@4218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-20 17:35:51 +00:00
Matthias Köppe
05c2429552
Fix for generated documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-19 17:32:42 +00:00
Luigi Ballabio
f3a792782b
Fixed constructors and default arguments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-12 16:08:26 +00:00
Dave Beazley
ba2383f9db
Fixed to DYNAMIC typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 15:45:38 +00:00
Dave Beazley
07976f410e
Add NULL pointer checks for char *
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-09 17:13:52 +00:00
Dave Beazley
d4d33f06d5
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:10:17 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Masaki Fukushima
1c0dde918c
Added -feature to ruby/Makefile.swig template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@1027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2001-02-25 16:07:49 +00:00