Commit graph

2,150 commits

Author SHA1 Message Date
William S Fulton
15cd29062f redundant script as autogen.sh works on debian
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 22:04:04 +00:00
William S Fulton
15a7c686df Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +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
William S Fulton
d725be7f9e Warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:16:53 +00:00
William S Fulton
fcb4392793 director downcast mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 10:41:27 +00:00
William S Fulton
d95d3555f1 directors docs more integrated with the rest
various.i library update


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 10:18:56 +00:00
William S Fulton
bdf45e991f Help string split for compilers that can't handle long strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-06 22:40:55 +00:00
Matthias Köppe
6092ce47d3 Pass closures, rather than primitive procedures, as #:slot-ref and
#:slot-set!.  Guile 1.6 only seems to like closures here.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-06 15:49:10 +00:00
William S Fulton
6df7122422 Scott Michel patch: Director bug fixes and downcast support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 22:41:40 +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
Dave Beazley
ae40427995 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:38:02 +00:00
Dave Beazley
1a5075b352 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:37:17 +00:00
Dave Beazley
928e3ed815 Restored contract support. Fixed error messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:23:56 +00:00
Dave Beazley
0ef35b6651 Removed snprintf(). Not ANSI.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 20:41:14 +00:00
Matthias Köppe
77c1d8f6db *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-04 19:16:17 +00:00
Matthias Köppe
60f3f3cc8e Only use the SCM_ API when the function `scm_slot_exists_p' exists
(needed for GOOPS support).  This function was renamed during the
Guile 1.5 series from `scm_slots_exists_p'.

Report the right runtime library when invoked with -scm -ldflags.1


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-04 19:15:59 +00:00
Matthias Köppe
a8ff1ee734 Update according to latest changes.
Thanks to John Lenz.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-04 09:07:21 +00:00
Matthias Köppe
7be1e2bc1a Warn about the broken typechecking code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:28:32 +00:00
Matthias Köppe
a494eb1212 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:07:31 +00:00
Matthias Köppe
7df95e05df Fix more problems in --with-chick* options handling.
(#782052).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:07:07 +00:00
Matthias Köppe
4d0c9397c6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:05:01 +00:00
Matthias Köppe
8350f52a38 Fix typo in --with-chickencfg option handling.
(#782052).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-03 10:02:51 +00:00
Matthias Köppe
99ae6a2964 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:16:40 +00:00
Matthias Köppe
5af411c153 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.

Remove the file argument to -scmstub and -goops.  The Scheme files are
now always called MODULE.scm or MODULE-primitive.scm, where MODULE is
the module name and "primitive" can be changed by the -primsuffix
option.  The Scheme files are now placed in the directory given by the
-outdir option, or the current directory.  (Patch by John Lenz,
slightly modified.)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:15:59 +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
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