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
Matthias Köppe
13010d7c35
Don't try to call the destructor explicitly.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 18:39:43 +00:00
Matthias Köppe
52638ec3e4
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@5251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 18:38:04 +00:00
Matthias Köppe
d248d471a8
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 17:44:33 +00:00
Matthias Köppe
b5daed9d15
Update documentation to show the changed SWIG_ConvertPtr signature.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 17:39:58 +00:00
Matthias Köppe
e838b97785
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:25:37 +00:00
Matthias Köppe
95a3a5a70e
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@5247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:24:53 +00:00
Matthias Köppe
110924a6f5
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@5246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:47:06 +00:00
Matthias Köppe
866eccc0e4
(parse-swigtype): Handle varargs.
...
When generating arg lists, avoid globally bound names.
Handle `extern "C"' nodes.
Add experimental code to link to SWIG itself.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:40:56 +00:00
Matthias Köppe
bcf828af88
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@5244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:34:51 +00:00
Matthias Köppe
b13c933611
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@5243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:49:45 +00:00
Matthias Köppe
02110ce67b
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@5242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:48:17 +00:00
William S Fulton
43e9376cbc
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:30:59 +00:00
William S Fulton
5be7a80b0f
C# and Windows runtime library update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:30:48 +00:00
William S Fulton
dd8b2cfb0d
Further director documentation contributed by Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:12:09 +00:00
William S Fulton
7567736299
Enhanced to check typedef'd parameters in directors - Scott Michel contribution.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:06:09 +00:00
Art Yerkes
1ad143cd34
Revised documentation:
...
Added new swigp4 forms.
Removed non preprocessed examples.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 08:28:26 +00:00
Art Yerkes
1cc5f28367
swigp4-ify.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 08:20:26 +00:00
Art Yerkes
a45bfa9624
swip4-ify.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 08:16:42 +00:00
Art Yerkes
a967f0fdc9
swigp4-ified.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:57:55 +00:00
Art Yerkes
074a0e1e61
Final edits. Corrected single, zero arg cases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:54:12 +00:00
Art Yerkes
0374f54fce
swigp4-ified examples.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:53:48 +00:00
Art Yerkes
7845308900
Added preprocessing, cleaned up slightly.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:25:52 +00:00
Art Yerkes
93008f32ba
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@5230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 06:10:50 +00:00
Art Yerkes
f9ea7fd22a
Some nice last-minute goodies for the camlp4 module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 05:56:12 +00:00
Art Yerkes
6c163123ae
Committing my latest ocaml.cxx. Corrects problem with shapes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 05:01:07 +00:00
William S Fulton
4046b53e9c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:56:01 +00:00
William S Fulton
337f9292b2
minor update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:50:52 +00:00
William S Fulton
4fc81e0249
simple runtime test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:50:00 +00:00
William S Fulton
f68fc2ee6e
$module name substitution to enable name mangling with the module name for the delegate registering functions.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:48:32 +00:00
William S Fulton
f479cd8c31
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@5223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:47:14 +00:00
Dave Beazley
8e7a772288
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 19:54:35 +00:00
Dave Beazley
244ff7493d
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 19:48:39 +00:00
Dave Beazley
d340760332
Added patch: [ 823302 ] Incr Tcl support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 19:47:58 +00:00
Dave Beazley
77d46ca4bb
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:55:43 +00:00
Dave Beazley
9bf9e2faf3
[ 829325 ] new Python Module options and features
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:55:38 +00:00
Dave Beazley
9f5df641f9
Eliminate compiler warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:48:02 +00:00
Dave Beazley
91ab4d286e
Eliminated compiler warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:47:53 +00:00
Dave Beazley
523caaa789
[ 829319 ] XML module tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:42:40 +00:00
Dave Beazley
f0b686d62c
[ 829317 ] Adds DohSplitLines function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:36:37 +00:00
Dave Beazley
ff61b0f0f8
Fixed [ 827907 ] argout objects not being wrapped properly (PATH).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:43:38 +00:00
Dave Beazley
b837b0961b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:43:03 +00:00
Dave Beazley
417105a4ed
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:02:48 +00:00
Dave Beazley
e3e7b2ff04
Fixed [ 826996 ] perl type checking ignores perl subclasses.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-29 19:02:44 +00:00
Dave Beazley
e800232c7a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 21:50:45 +00:00
Dave Beazley
4019fa2071
New pic.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 21:50:37 +00:00
Art Yerkes
75808b52ea
Changed test cases to open Swig.
...
Changed test case runme line a bit to link swig.cmo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 21:17:06 +00:00
Art Yerkes
55a611ede1
Examples updated.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 06:24:43 +00:00
Art Yerkes
6a2bd1b8a3
Updated example for new Swig module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 06:22:06 +00:00
Art Yerkes
dfeef990f7
Updating examples for new separate Swig module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-25 06:21:24 +00:00