Commit graph

1,485 commits

Author SHA1 Message Date
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
63c883de38 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:39:32 +00:00
Dave Beazley
815f414e65 Fixed odd class scope bug.
class Foo {
public:
    int Foo::bar(int x);
};

SWIG just drops the "Foo" prefix the method and continues (previously,
the declaration was ignored entirely).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:36:51 +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
Dave Beazley
bc7154d098 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:15:50 +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
8eda39d391 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:07 +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
Dave Beazley
7115331968 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:01:19 +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
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
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
65423415ee *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 21:05:29 +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
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
Luigi Ballabio
d4ae171593 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:35:19 +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
8a2bccde7f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-18 23:42:46 +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
William S Fulton
6a687d88b1 include stdio.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:26:10 +00:00
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