Commit graph

1,445 commits

Author SHA1 Message Date
Mark Rose
47710c7dda changed -fdirectors option to %module option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +00:00
William S Fulton
375592a285 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@4444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:48:01 +00:00
William S Fulton
9f8a23ca5a long long typemap mods for use with %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
William S Fulton
cacef74a94 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@4442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:25:02 +00:00
William S Fulton
8f2dbc8462 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@4441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:22:35 +00:00
William S Fulton
4794d1fb89 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@4440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:20:50 +00:00
William S Fulton
21079922f8 New test. It exposes some missing long long typemaps in some languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:15:14 +00:00
William S Fulton
f1a2b7d239 -mno-cygwin for Java on cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:13:09 +00:00
Dave Beazley
728e0ab438 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:55 +00:00
Dave Beazley
d060c1b248 Enhancement to Swig_require(), Swig_save(), Swig_restore()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +00:00
Mark Rose
bd40a83f1c polymorphism patch merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
William S Fulton
85a9996858 csharp test-suite infrastructure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 23:00:21 +00:00
William S Fulton
511f4d42bf csharp examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:49:38 +00:00
William S Fulton
73e647bc45 csharp added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:40:15 +00:00
William S Fulton
95c61bbd57 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@4431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:39:12 +00:00
William S Fulton
db718e8ed3 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@4430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 22:35:29 +00:00
Dave Beazley
8bbc5fe088 Minor patch contributed by Charles Schwieters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 20:09:53 +00:00
Dave Beazley
6be83e742b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 02:44:06 +00:00
Dave Beazley
fde3793911 Fixed William's weird typemap local variable replacement bug (I think).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 02:41:45 +00:00
William S Fulton
3327e7095c gcc -Wall warnings fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 23:29:53 +00:00
William S Fulton
419be328d3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 21:19:08 +00:00
William S Fulton
eb4ae81d0c CSharp typemaps - Neil Cause version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:30:17 +00:00
William S Fulton
ba3db76cea Whoops undo last checkin which just had some experimentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:29:02 +00:00
William S Fulton
2f7a7d2e6b CSharp added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:27:25 +00:00
William S Fulton
e451d3f145 CSharp module. Neil Cawse version.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:26:07 +00:00
Art Yerkes
47d747477f 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@4420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-01 07:53:24 +00:00
Dave Beazley
6f640c1b45 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 19:37:29 +00:00
Dave Beazley
671e5f23c7 Fixed [ 653548 ] error parsing casting operator definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 19:34:07 +00:00
Dave Beazley
e026cf6b3d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 17:21:52 +00:00
Dave Beazley
ae590e26ed Added support for anonymous bit-fields.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 17:21:48 +00:00
Dave Beazley
fff1d0f06c new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 17:21:34 +00:00
Luigi Ballabio
34521b3eb6 Support for std::map (thanks, Dave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Art Yerkes
bebaa363c0 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@4413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 09:25:00 +00:00
Art Yerkes
1c5ab19b2b 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@4412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 07:09:12 +00:00
Jonah Beckford
3def239916 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@4411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 02:00:15 +00:00
William S Fulton
704e2ac719 SHLIB_PATH environment variable added for HPUX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 23:20:21 +00:00
William S Fulton
220eb01205 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:21:15 +00:00
William S Fulton
c1f46260da More VC++ noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:07:32 +00:00
William S Fulton
0dbb59af3d -noproxy commandline option not necessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:03:16 +00:00
William S Fulton
f5be8c88ce Function call fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:02:00 +00:00
William S Fulton
e297cbadcc 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@4405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:01:04 +00:00
William S Fulton
ee9f40723e Fixes for compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 21:59:34 +00:00
Dave Beazley
d2711ebd88 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:14:06 +00:00
Dave Beazley
eb54f48b97 Fixed [ 642112 ] Constants char bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:13:28 +00:00
Dave Beazley
062a811230 Minor enhancement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 19:00:50 +00:00
Dave Beazley
85d989c691 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 18:25:01 +00:00
Dave Beazley
65c3aa0a8b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 17:46:04 +00:00
Dave Beazley
1c61a931ad Extremely scary template patch to fix Luigi's partial specialization argument handling bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 17:44:28 +00:00
Dave Beazley
a54275773a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:40:02 +00:00
Dave Beazley
ef2ce5af37 Fixed arrayref.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:37:41 +00:00