Commit graph

19,271 commits

Author SHA1 Message Date
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
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
4443f07b9a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 17:44:33 +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
f6b073cbef Update documentation to show the changed SWIG_ConvertPtr signature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 17:39:58 +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
3a19a0f0bb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:25:37 +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
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
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
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
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
e4d0541300 (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/SWIG@5245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:40:56 +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
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
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
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
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
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
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
2c2f1b87be *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:30:59 +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
11b23f20ed C# and Windows runtime library update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:30:48 +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
4b1c89599f Further director documentation contributed by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:12:09 +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
57b8d0ea70 Enhanced to check typedef'd parameters in directors - Scott Michel contribution.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:06: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
71e1a81d66 Revised documentation:
Added new swigp4 forms.
Removed non preprocessed examples.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 08:28:26 +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
cb69624de9 swigp4-ify.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 08:20: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
febd13ea89 swip4-ify.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 08:16:42 +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
5ffff2d4a7 swigp4-ified.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:57:55 +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
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
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
25d0e88ee7 swigp4-ified examples.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:53:48 +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
78fd2cb821 Added preprocessing, cleaned up slightly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 07:25:52 +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
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
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
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
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
a375677372 Committing my latest ocaml.cxx. Corrects problem with shapes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 05:01:07 +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
b083bf1628 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:56:01 +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