Art Yerkes
8dd475f93e
typemaps.i: $descriptor usage correction.
...
ocaml.cxx: director classes (needs more testing, but my Qt example works).
director.swg: Core director class for Ocaml.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 17:11:19 +00:00
Mark Rose
f10ce6cc84
Added SetNoneComparison call to PYTHON::top
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 10:01:30 +00:00
Art Yerkes
87bf632747
Removed a Py_None from cwrap.c.
...
Added SetNoneComparison in lang.cxx, which allows the language module to
specify how to determine whether the empty argument was given for the
'self' pointer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 03:25:09 +00:00
Logan Johnson
e68a21f46f
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 23:33:12 +00:00
Logan Johnson
c441d07415
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 22:41:20 +00:00
Logan Johnson
15ca71358a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:33:46 +00:00
Dave Beazley
5df89f4896
Variety of preprocessor fixes reported by Sebastien Recio.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:11:45 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
b9b0e97a15
Fixed [ 605162 ] Typemap local variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:46 +00:00
Dave Beazley
6592e9d64e
Refinement of noquote string replace to fix
...
[ 605162 ] Typemap local variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:35 +00:00
Dave Beazley
9b01ff49b0
Fixed Marcelo's abstract_typedef test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:38:13 +00:00
William S Fulton
2579240289
enumvalue attribute always has a value now. If there is no explicit value set
...
in the code being wrapped, then a value is constructed which is
1+ the previous enum value. For example:
enum numbers { zero, one, seven=7, eight};
has enumvalue attributes of '0', 'zero+1', '7' and 'seven+1'
Based on patch by Heiner Petith.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:06:10 +00:00
William S Fulton
3cf6341bfa
%javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
...
Based on patch by Heiner Petith.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:00:22 +00:00
Tiger Feng
5e4c3b8611
modified -fcompact feature to deal with PP lines
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 18:26:29 +00:00
Dave Beazley
a6390f2d45
Fixed missing line break in %except warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 13:51:38 +00:00
Dave Beazley
e7c56d083a
Fixed Luigi's template+%extend magic trick.
...
Marcelo should verify that his codes still work... ;-).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:26:51 +00:00
William S Fulton
55d3b5dcca
Improved support for native Windows compilers.
...
It is no longer necessary to explicitly export the SWIG_init DLL function by passing flags to the linker.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:18:54 +00:00
Tiger Feng
b4934f5b70
-fcompact
...
-fvirtual
-small
SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:57 +00:00
Tiger Feng
6d2625757f
-fvirtual
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 21:07:16 +00:00
Art Yerkes
ee62653474
Also normalize reference type as well as pointer type.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-16 13:33:04 +00:00