Commit graph

1,321 commits

Author SHA1 Message Date
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
Dave Beazley
4e4146b480 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 02:44:06 +00:00
Dave Beazley
2547941ebe Fixed William's weird typemap local variable replacement bug (I think).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 02:41:45 +00:00
William S Fulton
6116a681bc gcc -Wall warnings fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 23:29:53 +00:00
William S Fulton
02c3bf10b0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 21:19:08 +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
William S Fulton
8c6cc355cb Whoops undo last checkin which just had some experimentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:29:02 +00:00
William S Fulton
a7c44bb3b3 CSharp added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:27:25 +00:00
William S Fulton
5e63459fd9 CSharp module. Neil Cawse version.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:26:07 +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
Dave Beazley
cba4b57a64 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 19:37:29 +00:00
Dave Beazley
adb6edca34 Fixed [ 653548 ] error parsing casting operator definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 19:34:07 +00:00
Dave Beazley
256701e3c5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 17:21:52 +00:00
Dave Beazley
6bf0ddc233 Added support for anonymous bit-fields.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 17:21:48 +00:00
Dave Beazley
306510ff7c new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 17:21:34 +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
a1fa5ec2c1 Added info about dynamic linking to doc
Added dynamic targets to example makefiles
Added ocaml_dynamic and ocaml_dynamic_cpp targets to Examples/Makefile.in
Added OCAMLFIND and OCAMLDLGEN AC_SUBST lines in configure.in
Currently, dynamic linking relies on ocamlfind and Gerd Stolpmann's Dl package,
as well as some tricky elf linking.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 09:25:00 +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
William S Fulton
3903284ef6 SHLIB_PATH environment variable added for HPUX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 23:20:21 +00:00
William S Fulton
dcaa5d56a7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:21:15 +00:00
William S Fulton
33f4db169f More VC++ noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:07:32 +00:00
William S Fulton
082d55c0b4 -noproxy commandline option not necessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:03:16 +00:00
William S Fulton
ef5cfc0c07 Function call fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:02:00 +00:00
William S Fulton
77e7ad2bf7 Fix for Visual C++ which doesn't scope variable declarations in a for() correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:01:04 +00:00
William S Fulton
483024c206 Fixes for compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 21:59:34 +00:00
Dave Beazley
591a7b459c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:14:06 +00:00
Dave Beazley
8ab03e95ec Fixed [ 642112 ] Constants char bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:13:28 +00:00
Dave Beazley
e53b7ddc08 Minor enhancement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:00:50 +00:00
Dave Beazley
561a231e46 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 18:25:01 +00:00
Dave Beazley
930769fe62 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 17:46:04 +00:00
Dave Beazley
dd74b7ea59 Extremely scary template patch to fix Luigi's partial specialization argument handling bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 17:44:28 +00:00
Dave Beazley
6779ece600 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:40:02 +00:00
Dave Beazley
cdce67d492 Fixed arrayref.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:37:41 +00:00
William S Fulton
b6c618447c VC++ pollution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:11:44 +00:00
William S Fulton
6aaaaed546 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:01:58 +00:00
William S Fulton
7c5d9321e6 Fixes for StringBuffer typemap example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:53:28 +00:00
Dave Beazley
d3ed1b773a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:14:25 +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
Dave Beazley
9607710bd6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:09:00 +00:00
Dave Beazley
4efcd34b17 Fixed abstract_typedef2.i test (apparently).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:08:49 +00:00
Logan Johnson
bd65e32825 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 19:25:03 +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
46b05978cd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 03:31:17 +00:00
Dave Beazley
35a7d553a3 Experimental patch for abstract methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 03:26:01 +00:00
Art Yerkes
b117a28c99 Fixed example makefiles and put extra -gs in the Examples Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 01:19:25 +00:00
William S Fulton
b08b359444 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:29:09 +00:00
William S Fulton
3f2ca63453 enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:20:16 +00:00
William S Fulton
792b701599 enum typemaps check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:18:39 +00:00
William S Fulton
8cbbba1a85 Fix so that enum typemaps are used when wrapping an enum declaration.
[Enum typemaps still not 100% as 'enum' must always be declared with the type for the typemap.]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:17:58 +00:00