Commit graph

206 commits

Author SHA1 Message Date
Dave Beazley
d62e0c9800 Fixed casting problem with references to arrays in gcc-3.3 (and maybe other versions).
I'm not sure if this is a gcc bug or a SWIG bug.  However, the patch makes the
arrayref.i test work on my machine.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 19:06:35 +00:00
Marcelo Matus
eed2349c8f Fixed not '0' terminated string, that could result in a getting a bad error code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-27 00:11:18 +00:00
Dave Beazley
a1c8cc4283 Fixed infinite recursion bug (maybe)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-26 20:56:44 +00:00
Dave Beazley
d1345878e1 Added Swig_push_directory() and Swig_pop_directory()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:16:35 +00:00
Dave Beazley
114a8edfbb Added functions to support preprocessor enhancement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:16:11 +00:00
Dave Beazley
61088dcbe2 Eliminate compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:48:02 +00:00
Dave Beazley
c65d99b765 Eliminated compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:47:53 +00:00
William S Fulton
45e7a32a0b Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
Symbols in the generated director code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:31 +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
Logan Johnson
ce97184374 Fixed some problems in Swig_ConstructorToFunction() for the case where
the parameter list (parms) is NULL.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:20:16 +00:00
Dave Beazley
8ae4c60d39 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
Matthias Köppe
bbbff3e5e7 Remove prototypes for the deleted functions SwigType_reset_scopes,
SwigType_set_scope_name, Swig_debug_emit, Swig_typemap_lookup_multi.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:42:20 +00:00
William S Fulton
a562a53bcb Java directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:26:29 +00:00
Dave Beazley
175a8c21cf misc cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:03:29 +00:00
Mark Rose
ec6251e86d Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
Dave Beazley
2ff7dfb6c1 Work on embedded typemaps. Highly experimental--probably broken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 21:19:27 +00:00
Dave Beazley
d447d2fd5e Fixed [ 775989 ] numeric template parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:24:31 +00:00
William S Fulton
7841619e84 Fix for windows. Files were not being generated into the correct directories if the Windows path separator was used. The Unix separator '/' had to be used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:24:54 +00:00
William S Fulton
d038325759 Changed Swig_typemap_attach_kwargs to have global scope
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:54:44 +00:00
Matthias Köppe
ac6e7eaa44 (tmop_name): Fix for the case of a String *op.
This fixes the Guile testcase pointer_in_out (and others).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-18 13:18:01 +00:00
Logan Johnson
bd35c8a679 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-05 17:02:45 +00:00
Logan Johnson
22d7c12c26 Broke up Swig_typemap_attach_parms() a bit for readability.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:29:12 +00:00
Dave Beazley
fcc42fa5a6 Fixes to default typemap handling of arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:28:46 +00:00
Dave Beazley
6c5a5ac719 Changes to default type handling to disambiguate dimensionless [] and
dimensioned arrays [ANY].


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:28:31 +00:00
Dave Beazley
7c56de80f3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-28 21:35:12 +00:00
Dave Beazley
c7480b9897 Fixed reference/pointer typedef problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-28 21:34:54 +00:00
Dave Beazley
1371a4ed5e Minor tweak.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 17:42:24 +00:00
Logan Johnson
f929918ea6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:36:11 +00:00
Dave Beazley
5959a7dc3a Fixed [ 723471 ] Wrapper_print() fails with preprocessor directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 19:29:49 +00:00
Dave Beazley
1738d4e5c1 Fixed nested namespace resolution problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 17:59:06 +00:00
Dave Beazley
2cfb9272f8 Minor fix to SwigType_isclass()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-18 21:03:06 +00:00
Dave Beazley
a909372d29 Some type system cleanup. A modest performance improvement as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 19:22:57 +00:00
Dave Beazley
1aefd191bf Memory diagnostics. Huge memory leak cleanup related to templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
Dave Beazley
66a0fdb121 Preliminary typesys work. Doesn't compile---work in progress.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-26 03:29:11 +00:00
Dave Beazley
f915b0af06 overloaded constructor patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 17:10:52 +00:00
Dave Beazley
7777e17599 Oops. Accidently nuked a {. Fixed now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:28:33 +00:00
Dave Beazley
c4454717c3 Fixed comment problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 16:12:54 +00:00
Dave Beazley
3db66c72ab Fixed template_extend_overload test. Marcelo, I'll need you to double check
your code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 21:09:36 +00:00
William S Fulton
f162c1b644 compiler warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
William S Fulton
02af18bd87 missing return statement
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:16 +00:00
Dave Beazley
a13e0a67c1 Fix to escape code handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:03:05 +00:00
Art Yerkes
87bf632747 Removed a Py_None from cwrap.c.
Added SetNoneComparison in lang.cxx, which allows the language module to
specify how to determine whether the empty argument was given for the
'self' pointer.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 03:25:09 +00:00
Dave Beazley
e19c73746d Enhancement to Swig_require(), Swig_save(), Swig_restore()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +00:00
Mark Rose
c47494cb7a polymorphism patch merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Dave Beazley
2547941ebe Fixed William's weird typemap local variable replacement bug (I think).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-04 02:41:45 +00:00
William S Fulton
6116a681bc gcc -Wall warnings fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 23:29:53 +00:00
William S Fulton
ef5cfc0c07 Function call fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 22:02:00 +00:00
Dave Beazley
cdce67d492 Fixed arrayref.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 22:37:41 +00:00
Dave Beazley
35a7d553a3 Experimental patch for abstract methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 03:26:01 +00:00
Dave Beazley
b9b0e97a15 Fixed [ 605162 ] Typemap local variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-20 19:46:46 +00:00