Commit graph

1,342 commits

Author SHA1 Message Date
Mark Rose
2cfdfde3ab minor tweak of SWIG_DIRECTORS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:36:33 +00:00
Mark Rose
08e16bed8e four new director tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:30:11 +00:00
Mark Rose
3f5815cf03 added SWIG_DIRECTORS define under python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:28:00 +00:00
Mark Rose
8db3f9e8df two director examples for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:26:56 +00:00
Mark Rose
c8b971fd33 polymorphism (director) documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 07:15:39 +00:00
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
61ceb35ed9 The long long typemaps have been rewritten so that they can be more
easily used with non ISO compilers, like Visual C++. For example
            if you are wrapping the Windows 64 bit type __int64 the long long
            typemaps can be used with %apply:

                %apply long long { __int64 };
                __int64 value1(__int64 x);

            __int64 will now appear in the generated code instead of long long.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:48:01 +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
William S Fulton
bbe40b2a3c New test. It exposes some missing long long typemaps in some languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:15:14 +00:00
William S Fulton
fb6071f792 -mno-cygwin for Java on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:13:09 +00:00
Dave Beazley
e3b962618f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:55 +00:00
Dave Beazley
e19c73746d Enhancement to Swig_require(), Swig_save(), Swig_restore()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +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
William S Fulton
c146f71da1 csharp test-suite infrastructure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 23:00:21 +00:00
William S Fulton
719959886d csharp examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:49:38 +00:00
William S Fulton
25b125e1e0 csharp added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:40:15 +00:00
William S Fulton
6042cf869a detection of csharp compiler - pnet then mono then Microsoft
detection of CIL interpreter - just pnet for now


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:39:12 +00:00
William S Fulton
22faae5ec6 Remove package statement when using -package commandline. Perhaps this needs to be replaced by assemblies? Gets the test-suite under way for the moment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:35:29 +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
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