Commit graph

1,309 commits

Author SHA1 Message Date
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
Klaus Wiederänders
076e127226 deprecated -xml output.xml
use -o instead


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-22 09:16:13 +00:00
Marcelo Matus
daa23f01ce Added test that shows a problem in the 'abstract detection method' when virtual base classes are used (in different order)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 21:03:05 +00:00
Tiger Feng
f8425a6e6d csharp module commented.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:39:06 +00:00
Tiger Feng
4721789c66 csharp module added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:34:52 +00:00
Tiger Feng
876f9fa094 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 19:39:27 +00:00
Marcelo Matus
1311eb70bb Now, this is a real broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 09:12:45 +00:00
Dave Beazley
02598af321 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 01:38:02 +00:00
Dave Beazley
ffac9f8b43 Added Patch [ 623258 ] GCC-style vararg macro support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 01:36:51 +00:00
Marcelo Matus
2c715f8272 Added a broken case after the abstract_typedef case was fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 21:26:20 +00:00
Tiger Feng
b7489d6796 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 20:49:30 +00:00
Tiger Feng
e85e1654b1 Fixed problem with typedef with -fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 20:49:26 +00:00
Dave Beazley
97354265ac *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:47:34 +00:00