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
William S Fulton
d4a9ac02c8
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
__get_self()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:21:51 +00:00
William S Fulton
ed32b61a84
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
__swig_std_complex_i__
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:20:14 +00:00
William S Fulton
fc0f1e8147
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
_SwigImport_Inittab
Dave can you double check this doesn't have dire consequences.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:19:47 +00:00
William S Fulton
61097e184c
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
_SWIG_ConvertPtr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:18:15 +00:00
William S Fulton
22bcd64ccd
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
_SWIG_ConvertPtr and _SWIG_MakePtr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:17:46 +00:00
William S Fulton
55edb198e3
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@5145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:16:38 +00:00
William S Fulton
216f8774c4
__OCAML__SWIG__MAXVALUES removed. It wasn't being used. Is this okay Art?
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:15:39 +00:00
William S Fulton
64bd8a0660
Corrected __cpluscplus typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:14:35 +00:00
William S Fulton
cd940e3a13
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 :
...
_SWIG_Exception => SWIG_Exception_
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:13:27 +00:00
William S Fulton
8dc9f45083
This file is deprecated - superceded by the pointer.i library. Bye bye!
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 20:38:46 +00:00
William S Fulton
f4fac221fa
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
...
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +00:00
William S Fulton
9da574aae9
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
7ee01311b2
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00