Commit graph

1,459 commits

Author SHA1 Message Date
William S Fulton
090ece9b10 Primitive typemap fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:25:46 +00:00
Dave Beazley
6571ecfe68 Added typemap to remove uninitialized variable warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:13:26 +00:00
Dave Beazley
cb2c3f3b44 Added void * typemap to fix Examples/tcl/value (not really sure why this
was missing in the first place).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:03:50 +00:00
Dave Beazley
d890ee232e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:00:18 +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
Dave Beazley
812f140923 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:56:53 +00:00
Dave Beazley
2e6abf1f5d Removed spurious print statement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:51:04 +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
91578e4033 Define M_PI if not defined in math.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:29:35 +00:00
William S Fulton
b92650fb4a Corrected scope for C variable declaration in typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:28:27 +00:00
William S Fulton
ada6345963 clean for VC++ generated files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:25:49 +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
William S Fulton
02af18bd87 missing return statement
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:16 +00:00
William S Fulton
4908f410d7 Fix for languages that don't define SWIG_fail - thanks Mark
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 09:23:43 +00:00
Dave Beazley
29728e97d4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:59:35 +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
Dave Beazley
3a75cd354e new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:55:36 +00:00
Mark Rose
806c951e17 one more signed/unsigned fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:54:16 +00:00
Mark Rose
a8614946f3 signed/unsigned comparison fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:35:42 +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
3db3d59a14 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:28:52 +00:00
William S Fulton
8b4b343487 The complete C# reference documentation all in 5 lines :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:23:05 +00:00
William S Fulton
7340ffcef3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:03:33 +00:00
William S Fulton
0a44a33040 variables example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:54:16 +00:00
William S Fulton
40e008cec5 Usual SWIG variables example - uses properties for global variable access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:51:46 +00:00
William S Fulton
1196effefb Uses properties instead of get/set methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:50:01 +00:00
William S Fulton
4abc8f3f5e multiple inheritance warning for Java and Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:49:23 +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
William S Fulton
6c12848a26 New typemaps for properties
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:40:51 +00:00
William S Fulton
d693559e58 C# clean mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:39:10 +00:00
Jonah Beckford
5a5e217bd2 Changed typo in output filename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 16:35:27 +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
2d263827d4 Use the C# compiler found by configure, not just pnet's cscc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:54:52 +00:00
William S Fulton
ae1a166c19 template example working, sorry forgot to commit it earlier
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:48:02 +00:00
William S Fulton
f1fa4500b8 New examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:48:00 +00:00
William S Fulton
ab5ee2246a Reference example like the other languages, all working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:47:39 +00:00
William S Fulton
eac7c92248 Function pointer example just like the other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:46:41 +00:00
William S Fulton
f0826f2391 Classes and inheritance now working as demonstrated by the classic SWIG class example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:45:47 +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
James Michael DuPont
5e04ac087a clean up the debian stuff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:36:56 +00:00
William S Fulton
ee26641aa8 Typemap updates since they were branched from Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:34:31 +00:00
William S Fulton
e702ffd133 Non typemap code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:33:38 +00:00
James Michael DuPont
a3e7a4580e debian support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 19:54:32 +00:00
James Michael DuPont
28bb4e6eb5 update readme
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 19:39:38 +00:00
Art Yerkes
448c3c62ab Added some tests to mimic the ones in the python directory. Working my
way through the alphabet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 15:25:27 +00:00
Logan Johnson
4292b470bb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 21:34:14 +00:00