William S Fulton
072552a37a
Tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:58:11 +00:00
William S Fulton
cc0b2585f3
Global variables use properties instead of get and set functions.
...
All member variables working as properties.
pragma used for module class and pinvoke class import statements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:47:28 +00:00
Jonah Beckford
8bbb5d2f77
Changed %module xx_yy_zz to generate xx-yy-zz.scm and
...
xx-yy-zz_wrap.c[xx] (and xx-yy-zz-clos.scm and xx-yy-zz-generic.scm if
using TinyCLOS). Consistent with the "namifying" of other C
identifiers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 15:19:00 +00:00
Mark Rose
d0f9431db8
partial fix for abstract director classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
William S Fulton
1645ab51b0
Missing using System; statement in the module class, needed by mono compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 23:09:39 +00:00
William S Fulton
8bb8521a46
Virtual methods in C# proxy classes now use the appropriate keyword, virtual or override.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:42:52 +00:00
William S Fulton
6abbf36a8f
Use the code written for -fvirtual to gather information about virtual methods needed for C#.
...
The code written for -fvirtual is largely replicated in the code for directors and ought to be consolidated; they both are constructing vtables of sorts.
Both approaches also need fixing for when the virtual keyword is not used, eg
class Base {
virtual void foo();
virtual void bar();
};
class Derived : public Base {
virtual void foo();
void bar();
};
Neither currently detects bar as a virtual method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:40:28 +00:00
Dave Beazley
2b921f2986
Fixed bizarre template default constructor + SwigValueWrapper() bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:24:39 +00:00
Dave Beazley
e6cb11e9ba
Added $descriptor() support to code supplied to methods in %extend sections.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:37:51 +00:00
Dave Beazley
485e5f8cae
Fixed minor VC compilation problems.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:27:07 +00:00
William S Fulton
3d030619ba
Java module enhancements/bug fixes since the C# module was derived off the Java one.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:47:38 +00:00
Logan Johnson
0812b18bea
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 18:34:23 +00:00
Dave Beazley
8b7b551f88
Fix to escape code handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:03:05 +00:00
Dave Beazley
09d047285c
Fix to constant handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:01:42 +00:00
Art Yerkes
69cbf4251c
Working example. See Examples/ocaml/shapes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:14:04 +00:00
Art Yerkes
c2a610092a
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@4480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 17:11:19 +00:00
Mark Rose
0b87776d0b
Added SetNoneComparison call to PYTHON::top
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 10:01:30 +00:00
Art Yerkes
636daff4e1
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@4473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 03:25:09 +00:00
Logan Johnson
e3d8bf0d68
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 23:33:12 +00:00
Logan Johnson
afe67308c6
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 22:41:20 +00:00
Logan Johnson
ee1f66921c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:33:46 +00:00
Dave Beazley
d594981a12
Variety of preprocessor fixes reported by Sebastien Recio.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:11:45 +00:00
Mark Rose
5a7faa47a1
added SWIG_DIRECTORS define under python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:28:00 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Dave Beazley
4b98dd4939
Fixed abstract_typedef2.i test (apparently).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:08:49 +00:00
Dave Beazley
bcba55e6f0
Experimental patch for abstract methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 03:26:01 +00:00
William S Fulton
6643be30bc
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@4380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:17:58 +00:00
Klaus Wiederänders
0a794f4b08
deprecated -xml output.xml
...
use -o instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-22 09:16:13 +00:00
Tiger Feng
6a3eb88852
csharp module commented.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:39:06 +00:00
Tiger Feng
22290a6768
csharp module added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-21 20:34:52 +00:00