Commit graph

240 commits

Author SHA1 Message Date
Art Yerkes
9361880b56 Added namespace qualification.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 03:10:35 +00:00
William S Fulton
6832625af8 uninitialised variable fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 22:06:05 +00:00
William S Fulton
b0ece27226 another M_PI define if not defined in math.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:56:17 +00:00
Dave Beazley
5394dbe208 Fixed template_extend_overload_2 test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 17:11:36 +00:00
Art Yerkes
6418b0c755 Added example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:26:52 +00:00
Art Yerkes
7d2accbca7 Added stl example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:25:30 +00:00
Dave Beazley
d5c6658e58 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 21:08:45 +00:00
Dave Beazley
9ca7ea8ad0 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:36:16 +00:00
William S Fulton
60ea8877de warning removal for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:03:27 +00:00
William S Fulton
26dbbdac83 enum renamed enums due to enum keyword in C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 21:25:59 +00:00
William S Fulton
bc8dd337cf remove unnecessary header file as it causes linking problems on Mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:51:55 +00:00
William S Fulton
437e503be9 more varargs runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:50:54 +00:00
William S Fulton
b39ab0aa29 varargs runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:50:05 +00:00
William S Fulton
346e766e31 beefed up varargs test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:48:52 +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
William S Fulton
8529c178a8 new runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:32:06 +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
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
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
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
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
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
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
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
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
Logan Johnson
ad6f129b0d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 20:40:21 +00:00
Logan Johnson
d5f12d8002 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 20:27:13 +00:00
Logan Johnson
71f87c15af *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 20:01:59 +00:00
Dave Beazley
335cd09555 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:23:57 +00:00
Jonah Beckford
3c0106cc02 Got rid of -static flag to linker for CHICKEN. Not portable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 11:51:22 +00:00
William S Fulton
253192c8a4 Fix for mono c# compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:56:34 +00:00
Jonah Beckford
13682064c4 Added "module" target to build a dynamic module, got "clean" target to
invoke "chicken_clean" target in Examples/Makefile, and let
Examples/Makefile handle all the compiling.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:13:56 +00:00
Jonah Beckford
756581a3a2 Added descriptions of how to build dynamic loadable module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:12:20 +00:00
Jonah Beckford
2f85ac6f4e Cleaned up target for making a CHICKEN interpreter, added a target to
make a dynamic loadable module, and added a chicken_clean target.
No longer using the "compile" and "cxxcompile" ... will remove them
once I check that no one else is using them.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:11:42 +00:00
Jonah Beckford
1d22fe38d0 Fixed up the "make clean" target and used normal Chicken flags for compiling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:49:37 +00:00