Commit graph

207 commits

Author SHA1 Message Date
William S Fulton
00a4f2ee32 Removed globalin and memberin typemaps for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:54:53 +00:00
William S Fulton
ed21684067 globalin and memberin typemaps for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 13:54:59 +00:00
Dave Beazley
dfcf44cba5 Added setter for global arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:57 +00:00
Dave Beazley
1a7caba8b5 Fixed to array typemaps (memberin, globalin).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:28 +00:00
Luigi Ballabio
418ed3416b Added correct (I hope) typechecking for native scripting objects
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-22 13:01:44 +00:00
Tiger Feng
d2d6640236 contract: SWIG_assertion(expr) for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:17:23 +00:00
Dave Beazley
56d7071ffa Experimental contract work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 18:08:26 +00:00
Art Yerkes
2695aede2d Removed runtime lib. It's not needed anymore.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 17:59:31 +00:00
Luigi Ballabio
1a2c2c6ebc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 09:13:12 +00:00
Luigi Ballabio
0419085bfd Specialized typemaps---some problems though
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 08:47:31 +00:00
Luigi Ballabio
9f9b5aadab Missing files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 13:02:58 +00:00
Logan Johnson
9a7675f953 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 16:12:56 +00:00
Logan Johnson
332eb499a2 Fix SWIGTYPE output typemaps for Pike module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 16:04:10 +00:00
Logan Johnson
184da7430f A little more work on the Ruby support for C++ polymorphism. Exception
handling almost works...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 16:08:16 +00:00
William S Fulton
199b38f39e Fix for push_back as suggested by Gualtiero Chiaia
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 12:54:52 +00:00
Logan Johnson
c0a9e0d223 Add inv and outv Ruby typemaps for std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 00:00:19 +00:00
Logan Johnson
3e7037351a Made a change to the type-checking code in SWIG_ConvertPtr() for the Ruby
module, so that the new multiple-inheritance support code will work.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:00:46 +00:00
Logan Johnson
183be41892 Initial changes for limited MI support in Ruby (still under construction!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 17:38:42 +00:00
Logan Johnson
d9d068ca1a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 23:49:17 +00:00
Logan Johnson
0af3e7f14f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:44:05 +00:00
Logan Johnson
432bd404c6 Additional fixes for Ruby 1.8 compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:35:50 +00:00
Logan Johnson
961b144d29 Replaced all occurrences of the deprecated STR2CSTR() in Ruby code with
the new StringValuePtr().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:14:18 +00:00
Dave Beazley
67b82a4091 Added %contract directive. (Experimental)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:45:06 +00:00
William S Fulton
f572bc096a Throw exception if Java array passed in is not the same size as the C array.
Was using C free when array created with C++ new.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:32:45 +00:00
Luigi Ballabio
25fbc470b2 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 07:33:09 +00:00
Luigi Ballabio
65cffcce15 Miscellaneous patches from users
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 07:41:56 +00:00
Dave Beazley
3523a80886 Added extra constructor to SwigValueWrapper to fix default argument problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 01:40:21 +00:00
William S Fulton
db862794ad Typemaps for parameters passed by reference or pointer as suggested by Andreas Schoerk.
[Incomplete]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 00:01:41 +00:00
William S Fulton
d93adae875 Removed JNI types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 23:55:41 +00:00
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
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
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
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
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
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
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
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
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
a48f45179e Typemap updates since they were branched from Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:34:31 +00:00
William S Fulton
af98737169 Non typemap code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:33:38 +00:00
James Michael DuPont
9fe07c496a debian support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 19:54:32 +00:00
Logan Johnson
edd3bac431 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 21:34:14 +00:00
Luigi Ballabio
471f1d43d8 std::map ready for prime time (hopefully)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 15:38:02 +00:00
Dave Beazley
8ca5543263 Added DISOWN typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 12:38:06 +00:00
William S Fulton
abb4c8b64c long long typemap rewrite for compilers that don't understand long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 22:41:28 +00:00
William S Fulton
18dc9ec458 long long typemap mods for using with %apply by compilers that don't understand long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:50:14 +00:00
Art Yerkes
69cbf4251c Working example. See Examples/ocaml/shapes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:14:04 +00:00