Commit graph

1,576 commits

Author SHA1 Message Date
William S Fulton
bd5ed41597 cosmetic change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:44 +00:00
William S Fulton
53f8457aa6 vararg support for Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
Luigi Ballabio
128f46cece *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:35:19 +00:00
Art Yerkes
39f415aa47 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@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:24:47 +00:00
Mark Rose
4132afb727 director method tagging simplification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Dave Beazley
58f7e0808d Minor tweak to earlier const-smart-pointer fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 00:28:47 +00:00
Dave Beazley
e4620e28e7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-18 23:42:46 +00:00
William S Fulton
7573e78729 new runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:32:06 +00:00
William S Fulton
77a3851be1 include stdio.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:26:10 +00:00
William S Fulton
d4b07975af Primitive typemap fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:25:46 +00:00
Dave Beazley
ea8bb4afa8 Added typemap to remove uninitialized variable warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:13:26 +00:00
Dave Beazley
d6477b1912 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@4565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:03:50 +00:00
Dave Beazley
e740b92e7e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:00:18 +00:00
Dave Beazley
481ec5deef Fixed function argument bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:57:19 +00:00
Dave Beazley
7fd340e93e new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:56:53 +00:00
Dave Beazley
601fe97b1d Removed spurious print statement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:51:04 +00:00
Logan Johnson
94d41ca55a Comment out Ruby code for "fail" tag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 16:52:37 +00:00
Mark Rose
a1abd6a471 void director method fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 11:45:59 +00:00
William S Fulton
fb4966a97d Define M_PI if not defined in math.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:29:35 +00:00
William S Fulton
cab9f95a8e Corrected scope for C variable declaration in typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:28:27 +00:00
William S Fulton
ec550c3c92 clean for VC++ generated files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:25:49 +00:00
William S Fulton
66a2cc62f0 compiler warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
William S Fulton
ca0f2aabbb missing return statement
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:16 +00:00
William S Fulton
e9309decb9 Fix for languages that don't define SWIG_fail - thanks Mark
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 09:23:43 +00:00
Dave Beazley
fa56249cc3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:59:35 +00:00
Dave Beazley
6f1e04f7bb smart-pointer const fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:57:07 +00:00
Dave Beazley
7681f43d47 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:55:36 +00:00
Mark Rose
eb5842504d one more signed/unsigned fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:54:16 +00:00
Mark Rose
91410de78d signed/unsigned comparison fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:35:42 +00:00
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
cc3c735ab3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:28:52 +00:00
William S Fulton
600c87859f The complete C# reference documentation all in 5 lines :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:23:05 +00:00
William S Fulton
6a6aa47af4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:03:33 +00:00
William S Fulton
0db1c71d1e variables example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:54:16 +00:00
William S Fulton
ceccc37377 Usual SWIG variables example - uses properties for global variable access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:51:46 +00:00
William S Fulton
7dafbf88dd Uses properties instead of get/set methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:50:01 +00:00
William S Fulton
df27876aaa multiple inheritance warning for Java and Ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:49:23 +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
William S Fulton
3351b0c7ae New typemaps for properties
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:40:51 +00:00
William S Fulton
0e980c826a C# clean mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:39:10 +00:00
Jonah Beckford
18d96dd27d Changed typo in output filename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 16:35:27 +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
00b9694262 Use the C# compiler found by configure, not just pnet's cscc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:54:52 +00:00
William S Fulton
ee4b63a60a template example working, sorry forgot to commit it earlier
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 22:48:02 +00:00
William S Fulton
811bf393a2 New examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:48:00 +00:00
William S Fulton
379c070640 Reference example like the other languages, all working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:47:39 +00:00
William S Fulton
6b626a186b Function pointer example just like the other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:46:41 +00:00
William S Fulton
4c5d572f7c Classes and inheritance now working as demonstrated by the classic SWIG class example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:45:47 +00:00