William S Fulton
a9dd72b92d
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 00:33:41 +00:00
Dave Beazley
b9ef74ebb1
Compiler warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 20:44:52 +00:00
Dave Beazley
3851e222d0
Fixed xml sym:name problem.
...
**** SPECIAL CAUTION TO DEVELOPERS ****
The strings that represent attribute key names like "name",
"sym:name", "type", and so forth are extensively shared to save
memory. If a key name is modified for some reason (which is not
recommended), be aware that those change may affect thousands of parse
tree nodes. Moreover, changes to a key name will break the hashing
algorithm used to perform attribute lookup.
Bottom line: don't modify hash table key strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 14:13:34 +00:00
Jonah Beckford
fc89bc2f9b
Fixed extremely silly mistake that causes intermittent failures when
...
overloading methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-22 12:54:33 +00:00
William S Fulton
20184c76e7
Warning tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:14:58 +00:00
Art Yerkes
f7d59cab5d
All but four test cases work. I'm going to leave these for afterward.
...
I've moved completely away from the "value" type to "caml_value_t". Although
a bit painful, this will make things easier for me. I seem to be seeing
quite a few things that use the word value as a function, type, etc, and
wanted to get something that doesn't collide.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 20:51:05 +00:00
Dave Beazley
878e7735cf
Incorporated [ 696516 ] Enabling exception processing for data member access.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:13:52 +00:00
Dave Beazley
7f26e39937
Added patch 701860.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
William S Fulton
93b9d5e23f
Reserved word checking removed - a #define can be used in interface instead
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:02:51 +00:00
William S Fulton
9b1383e1a6
cosmetic change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:44 +00:00
William S Fulton
c201cb7376
vararg support for Java and C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
Art Yerkes
4b2da49eb3
Added:
...
Type registration. Correct support for casting. Proper type safety.
Changed:
ocaml.swg: Correct casts, declaration order for C
ocamldec.swg: Removed problematic forward declarations without array index.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:24:47 +00:00
Mark Rose
ebbc33f90b
director method tagging simplification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Dave Beazley
6ec42cda59
Minor tweak to earlier const-smart-pointer fix.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 00:28:47 +00:00
Dave Beazley
34a220f341
Fixed function argument bug
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:57:19 +00:00
Logan Johnson
a31ec93aa7
Comment out Ruby code for "fail" tag.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 16:52:37 +00:00
Mark Rose
7c3af222a3
void director method fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 11:45:59 +00:00
William S Fulton
f162c1b644
compiler warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
Dave Beazley
64354c5b3b
smart-pointer const fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:57:07 +00:00
William S Fulton
f63476e473
Tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:58:11 +00:00
William S Fulton
087fb8dba2
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/SWIG@4539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:47:28 +00:00
Jonah Beckford
6daf196bf4
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/SWIG@4535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 15:19:00 +00:00
Mark Rose
9e8965b07f
partial fix for abstract director classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
William S Fulton
3bd5ee539a
Missing using System; statement in the module class, needed by mono compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 23:09:39 +00:00
William S Fulton
a7bc7a6ba9
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/SWIG@4526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:42:52 +00:00
William S Fulton
17c8b86ba9
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/SWIG@4525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:40:28 +00:00
Dave Beazley
0b935a46be
Fixed bizarre template default constructor + SwigValueWrapper() bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:24:39 +00:00
Dave Beazley
8c56544ee3
Added $descriptor() support to code supplied to methods in %extend sections.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:37:51 +00:00
Dave Beazley
408be36ece
Fixed minor VC compilation problems.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:27:07 +00:00
William S Fulton
c172b2e5e6
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/SWIG@4501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:47:38 +00:00
Logan Johnson
f0250d6ccb
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 18:34:23 +00:00
Dave Beazley
26f516695e
Fix to constant handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:01:42 +00:00
Art Yerkes
de9c786cad
Working example. See Examples/ocaml/shapes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:14:04 +00:00
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
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
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
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