William S Fulton
151e882462
contract assert macro fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:56:02 +00:00
William S Fulton
804578107a
Contract assert macro added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:39:37 +00:00
William S Fulton
31edb1fcbd
Contract assert macro added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
Dave Beazley
0b75c636c4
Added Swig_contract_assert
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:58:56 +00:00
Matthias Köppe
f0c73a2a80
Improvements to object-ownership management in
...
"-scm" mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:52:49 +00:00
Logan Johnson
40cb2afe0d
Added Ruby module runtime support for SWIG_contract_assert() macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Dave Beazley
282ccb13f7
Contract cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:25 +00:00
Dave Beazley
4a182a930a
Simplified contract API
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:53 +00:00
Dave Beazley
3fbbc63ecc
Added %aggregate_check macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:19:40 +00:00
Logan Johnson
5d9a1c2480
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/SWIG@5311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:24:55 +00:00
William S Fulton
dbda95ae34
ricochet exception removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:13:04 +00:00
Dave Beazley
445625dc0a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:44:32 +00:00
Art Yerkes
1663433c96
Missing assert.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 23:47:46 +00:00
William S Fulton
4b317678e5
Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
227a79d890
JNI descriptor attribute in directorin typemap called descriptor instead of parse now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
Dave Beazley
201f1175a7
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:59:07 +00:00
Dave Beazley
fe5fb9114a
Added contract support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:58:39 +00:00
Matthias Köppe
3e64557893
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/SWIG@5254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:15:19 +00:00
Matthias Köppe
f331b98ae2
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/SWIG@5253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:14:23 +00:00
Matthias Köppe
5bdf8a84bc
Fix typos (class K, class T vs. class T, class u)
...
and include exception.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 18:38:04 +00:00
Matthias Köppe
06e5b9aa3a
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
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/SWIG@5247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:24:53 +00:00
Matthias Köppe
c21da2e306
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
Unify the pointer-conversion runtime API.
[Python]: Add the function SWIG_MustGetPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:47:06 +00:00
Matthias Köppe
e1534f83cd
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
Unify the pointer-conversion runtime API.
[Ruby]: Add the function SWIG_MustGetPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:34:51 +00:00
Matthias Köppe
13f434304d
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
Unify the pointer-conversion runtime API. The standard
functions are:
* SWIG_NewPointerObj (POINTER, TYPE, FLAGS)
-- Create an scripting object that represents a typed
pointer. FLAGS are language specific.
* SWIG_ConvertPtr (INPUT, RESULT, TYPE, FLAGS)
-- Get a pointer from the scripting object INPUT and
store it in the place RESULT. When a type mismatch
occurs, return nonzero.
* SWIG_MustGetPtr (INPUT, TYPE, ARGNUM, FLAGS)
-- Get a pointer from the scripting object INPUT and
return it. When a type mismatch occurs, throw an
exception. If ARGNUM > 0, report it as the
argument number that has the type mismatch.
[Guile]: No changes.
[MzScheme]: No changes.
[Perl]: Add the function SWIG_NewPointerObj.
The function SWIG_MakePtr is kept.
The function SWIG_MustGetPtr is currently not
supported.
[Python]: Add the function SWIG_MustGetPtr.
[Ruby]: Add the function SWIG_MustGetPtr.
[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/SWIG@5243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:49:45 +00:00
Matthias Köppe
de27e32afb
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:48:17 +00:00
Art Yerkes
243ebeeb27
Final edits. Corrected single, zero arg cases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:54:12 +00:00
Art Yerkes
d46db88c4d
Slight type adjustment for invoke. This makes swigp4 a bit easier to
...
deal with.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 06:10:50 +00:00
Art Yerkes
5ee35648b8
Some nice last-minute goodies for the camlp4 module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 05:56:12 +00:00
William S Fulton
9506c8c9f7
Delegate register function name mangling. Mangled with the module name to prevent name clashes when using more than 1 module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:47:14 +00:00
Dave Beazley
77d05524a9
Fixed [ 827907 ] argout objects not being wrapped properly (PATH).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:43:38 +00:00
Dave Beazley
55a6ee7007
Fixed [ 826996 ] perl type checking ignores perl subclasses.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:02:44 +00:00
Art Yerkes
bd4f186ae1
preamble for swig modules now that a separate Swig module exists.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:24:31 +00:00
Art Yerkes
a181d5cf18
Added convert_c_obj function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:22:51 +00:00
Art Yerkes
1053c27e1e
Cleaner interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:20:40 +00:00
Art Yerkes
ea88458c59
Forgot to add files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 03:18:41 +00:00
Art Yerkes
b6bf9d6036
More orthodox way of building the Swig module. I'm working on making
...
modules easier to link together by isolating the common types and functions
in a module that they all open.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 13:46:42 +00:00
Art Yerkes
dff2895809
Director related changes, other edits.
...
director_wombat testcase, as well as all others except director_abstract
compile.
Four test cases fail.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-22 04:01:27 +00:00
William S Fulton
1035092471
void* used instead of int for IntPtr in C function declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-16 21:34:38 +00:00
William S Fulton
e480bac0b3
Warning removal in runtime code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-16 20:50:16 +00:00
William S Fulton
0acef2ac83
unsigned char pointers and references fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-06 20:47:53 +00:00
Matthias Köppe
b2b177eceb
Install common.scm.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:42:36 +00:00
Matthias Köppe
95520b20af
Remove symbol clashes between runtime libraries.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:36:52 +00:00
Matthias Köppe
2b63b996a8
Add GOOPS support, contributed by John Lenz.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:27:20 +00:00
Dave Beazley
360eb281e8
Fixed [ 800012 ] ENTER macro from CORE/scope.h clashes with libc search.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:52:45 +00:00
Dave Beazley
ce52c68732
Fixed [ 811518 ] Casting ints to doubles (w/ solution?)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-30 17:35:18 +00:00
William S Fulton
3ddde9fe70
Director tweaks from Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:40:49 +00:00
Art Yerkes
c779469a61
Working directors again. I need to focus on director_abstract testcase.
...
TODO: my ranting on typing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-25 06:46:17 +00:00
Luigi Ballabio
739c9499a1
Specialization for vector<T*>
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-24 11:35:50 +00:00
William S Fulton
c6efb20a3f
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:24:17 +00:00
William S Fulton
a0cdda2db9
__cpluscplus typo fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:23:09 +00:00