Commit graph

30 commits

Author SHA1 Message Date
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
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
William S Fulton
a7933a75b0 First round of director mods
- Removed asserts
- The unused __DIRECTOR__ base class default constructor removed. I've used the conventional approach of having no default constructor rather than a private one (declaring it private doesn't serve any useful purpose when this constructor is not wanted).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +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
Mark Rose
ce452b8b8d Director typemap cleanup and return by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 02:38:45 +00:00
William S Fulton
a951a86659 Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
These were useless as they just produced a setter that gave a runtime error.
Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
Dave Beazley
e7793fb51c Added setter for global arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:57 +00:00
Dave Beazley
f6e4ffd8c4 Added DISOWN typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 12:38:06 +00:00
William S Fulton
af3ec605e9 long long typemap mods for use with %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +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
William S Fulton
562ba55a1a bool typemaps rewrite to keep Visual C++ happy
Fixes to SWIGTYPE& varin and varout typemaps


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:09:30 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
4577718468 Fixed default argument handling bug reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-21 01:41:13 +00:00
Dave Beazley
8413325366 Fixed ambiguous else.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-25 12:26:07 +00:00
Dave Beazley
16ff68c288 Changed _swig_type_info to swig_type_info
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
1096e69b96 Moved location of extern "C" (patch for Python 1.6 compilation).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 20:38:34 +00:00
Dave Beazley
c9a1a80211 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 18:12:50 +00:00
Dave Beazley
3dfabddeee Moved generic type-checking code to common.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:28:21 +00:00
Dave Beazley
5f5f2213af Applied memory leak patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 03:17:39 +00:00
Dave Beazley
e5c28c7007 Fixed memory leak in Python pointer type-checking code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 20:05:08 +00:00
Dave Beazley
7aa677bec3 cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:46:23 +00:00
Dave Beazley
91ed177312 Fixed some compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 23:19:56 +00:00
Dave Beazley
2551be4658 Fixed runtime support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 00:58:27 +00:00
Dave Beazley
f76cedd349 Added error handling flag to ConvertPtr function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:25:55 +00:00
Dave Beazley
d9486735a0 Make the use of CObjects a conditional compilation flag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 04:22:52 +00:00
Dave Beazley
3473852cab Performance enhancements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:03:21 +00:00
Dave Beazley
6c4b1d157d Upgrade of runtime functions to support new pointer type checking scheme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:35:41 +00:00
Dave Beazley
d3ff20bb6a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@46 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 02:55:03 +00:00