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
Art Yerkes
b6895badf2
Director: added disown. It now mutates the reference held by the object.
...
mlheading and mliheading: Added C_director_core, which holds the state needed
by the director to disown.
std_string and std_vector: Added specific support for the common case of
a zero-terminated char **.
typemaps.i: Withdraw default argout for SWIGTYPE &
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 20:14:31 +00:00
Art Yerkes
c2a610092a
typemaps.i: $descriptor usage correction.
...
ocaml.cxx: director classes (needs more testing, but my Qt example works).
director.swg: Core director class for Ocaml.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 17:11:19 +00:00
Logan Johnson
0720ce935a
Add Ruby support for item indexing in Lib/carrays.i.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 04:21:41 +00:00
Logan Johnson
e87f381b3a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:37:04 +00:00
Dave Beazley
155e14c2a5
Long long typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:46:15 +00:00
Dave Beazley
704514563a
Added long long typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:26:32 +00:00
Dave Beazley
33617a5abd
Fixed compilation problem with dynamic_cast test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:31:41 +00:00
Logan Johnson
1823d6f715
Added missing 'long long' and 'unsigned long long' typemaps for Ruby's
...
typemaps.i file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 15:24:38 +00:00
Mark Rose
47710c7dda
changed -fdirectors option to %module option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +00:00
William S Fulton
9f8a23ca5a
long long typemap mods for use with %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
William S Fulton
cacef74a94
long long typemap mods for use with %apply
...
Untested... I don't have pike
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:25:02 +00:00
William S Fulton
8f2dbc8462
long long typemap mods for use with %apply
...
Untested... I don't have ocaml
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:22:35 +00:00
William S Fulton
4794d1fb89
long long typemap mods for use with %apply
...
Untested... I don't have chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:20:50 +00:00
Mark Rose
bd40a83f1c
polymorphism patch merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Dave Beazley
8bbc5fe088
Minor patch contributed by Charles Schwieters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 20:09:53 +00:00
William S Fulton
eb4ae81d0c
CSharp typemaps - Neil Cause version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 20:30:17 +00:00
Art Yerkes
47d747477f
Proper handling of arrays finally in the works, no special typemaps needed.
...
Some corrections for use with -small.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-01 07:53:24 +00:00
Luigi Ballabio
34521b3eb6
Support for std::map (thanks, Dave)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Art Yerkes
1c5ab19b2b
Added to typemaps: reference type in/out
...
Strings <=> std::string by value
std::wstring accessible from Ocaml. The string example converts a multibyte
japanese EUC sequence to a single wchar_t sequence if you have the ja_JP.EUC-JP
locale, or similar.
Better handling of reference in types
Corrected problems with & * mismatch in type verifier.
Type verifier now really functional. No more type errors in places they
wouldn't be allowed in C++, unless you work at it.
Added argout_ref example for argout_ref.
Init code now effective (called from let _ = f_<module>_init ())
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 07:09:12 +00:00
Jonah Beckford
3def239916
Changed module technique from <module_name>- to <module_name>: which
...
conforms with chicken "egg" standard. Got rid of ##csi#run for
relinking the Scheme interpreter as no longer needed. Changed all
documentation to reflect both changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 02:00:15 +00:00
Dave Beazley
2acbff274a
Added void prototype. [ 635347 ] Compilation warning from libpy.c.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:13:44 +00:00
Logan Johnson
212275f45d
Add range checking for NUM2USHRT macro, per SF Bug #675353 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 19:22:36 +00:00
Dave Beazley
41307d05ba
Removed some unused variable warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Luigi Ballabio
45401fca51
Fixed typecheck for bools
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00