Dave Beazley
23c36cd5fd
Fixed perl5.005 problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 19:14:14 +00:00
Art Yerkes
fbb9c8481d
shapes example: slight correction to depth map.
...
makedebugtop: include swig.cmo
Lib: factored out more common code, slightly reorganized class type.
added director define and exceptions.
std_string: length from the original ocaml string (no longer depends on
null termination)
ocamldec.swg/ocaml.swg: added caml_string_len
Examples/Makefile.in: quiet about checking out files.
Ocaml.cxx:
Fixed abstract director test case.
Include/exclude director.swg based on directors being enabled.
Final edits for 1.3.20, barring bugs being discovered.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-04 06:15:07 +00:00
Luigi Ballabio
611fd5d405
Fixed problem with std::vector<unsigned int>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-03 08:23:00 +00:00
William S Fulton
80cd6fa68a
Fix for INOUT and OUTPUT typemaps for when the JNI type is bigger than the c type.
...
For example unsigned long (32bits) is mapped to jlong (64bits)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 22:29:54 +00:00
Dave Beazley
50b6ef5d15
Fixed [ 755382 ] calling func(const vector<T>& p) evaluates p[0] in interp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 19:47:14 +00:00
Art Yerkes
08d4b05e03
All test cases compile except director_abstract. I clued from what
...
William Fulton and Dave were talking about regarding the template parameters
and (), and this solved a bunch of wierd little problems I was having.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 08:50:39 +00:00
William S Fulton
28e32ef4a8
Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:49 +00:00
William S Fulton
09ede20459
Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:37 +00:00
Dave Beazley
d99face03c
Added member pointer typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:53:43 +00:00
William S Fulton
1d279ae267
#849064 fixed. Any classes with a non public destructor now have a public delete() method which throw a runtime exception. The delete() method was previously protected.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:13:08 +00:00
Dave Beazley
1095ee9859
Added Perl support for member pointers. Some reorganization of other runtime code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 20:56:17 +00:00
Dave Beazley
9aecb608c5
Fixed (char *STRING, int LENGTH) typemap to use STRLEN type.
...
Eliminates compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:24:38 +00:00
Dave Beazley
9eb6a0d8ea
Fixed missing variable.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:14:13 +00:00
Dave Beazley
7429f62153
Added missing exception.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:06:52 +00:00
Dave Beazley
919a65fb96
Fixed compilation problems, missing exception.i library.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 19:30:38 +00:00
William S Fulton
5b85519737
Cygwin gcc now uses __declspec(dllexport) for creating exported functions in the runtime library DLLs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:53:02 +00:00
William S Fulton
dfd57099df
Corrected SWIGEXPORT to SWIGIMPORT
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
William S Fulton
01926d2f67
Added missing SWIGIMPORT to runtime library functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:15:15 +00:00
Dave Beazley
2acc6de7fc
[ 841074 ] better croaking (PATCH)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:06:56 +00:00
Matthias Köppe
482ee2360f
Rename the three smob types to "swig-pointer",
...
"collectable-swig-pointer", "destroyed-swig-pointer", so that the
automatically generated class metaobjects <swig-pointer> etc. do not
contain whitespace (which prints stranegly as a symbol) and do not
clash with the <swig> class metaobject of the GOOPS wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 17:03:59 +00:00
Dave Beazley
c17e494888
Fixed [ 848824 ] Bug in dispatch function when having overloaded functions.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:12:20 +00:00
Matthias Köppe
ba4943e63d
(SWIG_Guile_NewPointerObj): Return '() to represent null pointers.
...
This is for compatibility with the -gh version.
Also, GOOPS objects representing null pointers would behave very
badly, like segfaulting when one DESCRIBEs them.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-24 16:55:22 +00:00
Matthias Köppe
ec54de8592
Add a SWIG_contract_assert macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 20:29:07 +00:00
Matthias Köppe
873bfced75
In -gh mode, don't forget to call SWIG_Guile_Init.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 18:47:20 +00:00
Art Yerkes
0de2a4a8f8
Added `` for C enums.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 12:25:26 +00:00
Art Yerkes
c12636c0f1
Added string.h include.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:59:03 +00:00
Art Yerkes
e7460b2ddb
Added sizeof operator for classes (and struct, unions), enabled with
...
"sizeof"="1" on the module node.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 11:58:12 +00:00
Art Yerkes
4c58bc268e
Added SWIG_contract_assert.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 08:20:12 +00:00
Dave Beazley
d60fd9fc44
added runtime support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:49:16 +00:00
Dave Beazley
2e313b48b0
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
Luigi Ballabio
09ec4edb93
Char and unsigned-char specialization added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
7940ccaee8
contract assert macro fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:56:02 +00:00
William S Fulton
da246698a3
Contract assert macro added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:39:37 +00:00
William S Fulton
329bd4f1c4
Contract assert macro added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
Dave Beazley
ccb09ea355
Added Swig_contract_assert
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:58:56 +00:00
Matthias Köppe
dda57d7224
Improvements to object-ownership management in
...
"-scm" mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:52:49 +00:00
Logan Johnson
edf8fc96ce
Added Ruby module runtime support for SWIG_contract_assert() macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Dave Beazley
0d090075b5
Contract cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:25 +00:00
Dave Beazley
0479fc63c4
Simplified contract API
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:53 +00:00
Dave Beazley
4599e77844
Added %aggregate_check macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:19:40 +00:00
Logan Johnson
db6a5a9f0b
Fixed some errors in the template specialization for std_vector.i on
...
vectors of "pointer to T".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:24:55 +00:00
William S Fulton
9b25a498ab
ricochet exception removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:13:04 +00:00
Dave Beazley
54a11a5f75
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:44:32 +00:00
Art Yerkes
c760caa0f2
Missing assert.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 23:47:46 +00:00
William S Fulton
3c4c47cbea
Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
05d2ab63eb
JNI descriptor attribute in directorin typemap called descriptor instead of parse now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
Dave Beazley
377175f813
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:59:07 +00:00
Dave Beazley
2e614a8424
Added contract support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:58:39 +00:00
Matthias Köppe
a1c8f41baf
Merge new set of GOOPS changes by John Lenz.
...
GOOPS objects are now manipulated directly by the C code.
Some fixes to typemap-GOOPS interaction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:15:19 +00:00
Matthias Köppe
25bb5d202b
Unify the pointer-conversion runtime API.
...
[Tcl]: Remove the "interp" argument of SWIG_NewInstanceObj,
SWIG_ConvertPtr, SWIG_ConvertPacked, and SWIG_ConvertPtrFromString.
The function SWIG_MustGetPtr is currently not supported.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:14:23 +00:00