Commit graph

1,593 commits

Author SHA1 Message Date
Art Yerkes
9ac1568443 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@4593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 20:51:05 +00:00
Dave Beazley
c6c30d39e9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:39:32 +00:00
Dave Beazley
4138222abd 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@4591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:36:51 +00:00
Dave Beazley
f0b063ef3e new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:36:16 +00:00
Dave Beazley
033bc2af75 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:15:50 +00:00
Dave Beazley
b59d8e4db2 Incorporated [ 696516 ] Enabling exception processing for data member access.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:13:52 +00:00
Dave Beazley
ab9443b380 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:07 +00:00
Dave Beazley
fd5f885380 Added patch 701860.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
Dave Beazley
287fba676f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:01:19 +00:00
William S Fulton
cbe0625591 warning removal for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:03:27 +00:00
William S Fulton
4d0e36332f Reserved word checking removed - a #define can be used in interface instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:02:51 +00:00
William S Fulton
b0307fb2c4 enum renamed enums due to enum keyword in C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 21:25:59 +00:00
William S Fulton
ef1250b67d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 21:05:29 +00:00
William S Fulton
6bcd362693 remove unnecessary header file as it causes linking problems on Mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:51:55 +00:00
William S Fulton
4567f1ecdc more varargs runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:50:54 +00:00
William S Fulton
a91f8ad5e6 varargs runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:50:05 +00:00
William S Fulton
5f909daeb9 beefed up varargs test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:48:52 +00:00
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