Commit graph

91 commits

Author SHA1 Message Date
William S Fulton
da2a914365 Visual Studio warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 20:16:09 +00:00
Marcelo Matus
21c689c610 small fix for unsigned int and unsigned long, but still there are problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-27 08:15:46 +00:00
William S Fulton
006eda3f84 Fix incorrect usage of $owner in varout typemaps added in last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:20:39 +00:00
William S Fulton
b366ef3d48 %newobject support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:36:38 +00:00
William S Fulton
03a67698a9 use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
Marcelo Matus
11b935315a fix for long long types and old Tcl versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 23:15:51 +00:00
Marcelo Matus
765013d984 fix unsigned char case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-13 16:43:34 +00:00
William S Fulton
815355b964 Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
4c4e3f47ad added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
William S Fulton
89e581e19c Fix for methods with similar names when showing list of names on error - bug #1191828. Patch from Jeroen Dobbelaere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:09:18 +00:00
William S Fulton
b417ef575e tcl long long overloading fix - bug #1191835, patch from Jeroen Dobbelaere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:51:31 +00:00
William S Fulton
6ac7bd813b remove debug (bug #1196755)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:24:13 +00:00
John Lenz
c3338b1a16 - Improve the runtime type sytesm
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
William S Fulton
b8d5ea651d const enum SWIGTYPE & typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
Marcelo Matus
c573cfe3a8 minor 'const' consistence fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-21 19:30:55 +00:00
Marcelo Matus
811c159e38 allow to include the swig runtime code into external user libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
Marcelo Matus
1904024805 more fixes for size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:56:37 +00:00
Marcelo Matus
88a08fdfc8 improved support for size_t/ptrdiff_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:26:50 +00:00
William S Fulton
a87c96ec8e size_t fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:12:01 +00:00
Marcelo Matus
ce999550ad fix tcl + -namespace + constants(enum)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:28:00 +00:00
John Lenz
0c57969c61 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
William S Fulton
85b1bcfc47 removed redundant valuewrapper feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
9d9580639a add %typemap(varin) SWIGTYPE[], fix some typemaps to be safe for %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:38:44 +00:00
Marcelo Matus
5a4369fd11 avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
Marcelo Matus
3ac9536a83 fix long long + apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 11:36:03 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
John Lenz
143bfb2a62 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
d84772ce6f fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
John Lenz
6ed2f7e90e New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
William S Fulton
40fcb96d9d varin enum SWIGTYPE mods to handle unnamed enums
varin char[] typemap


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:33:46 +00:00
William S Fulton
a5c694a978 missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:44:54 +00:00
Luigi Ballabio
c25bb79fdb Fixed bug [948521]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:12:20 +00:00
Luigi Ballabio
2e74736b7f Fixed bug [948583]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:07:39 +00:00
Matthias Köppe
2eacba6ef9 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Luigi Ballabio
42368516f9 Fix for std::vector Tcl typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Dave Beazley
9494cfbf85 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 18:29:00 +00:00
Marcelo Matus
8e8e0ce6e8 Forgot #undefs, add python bad names, change names from
tclkw.swg and phpkw.swg to the right ones tcl8kw.swg and php8kw.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:15:46 +00:00
Marcelo Matus
7b8f415319 - Uniform the definition of the keyword warnings through
the supported languages.

- Added keyword list for most of the languages that didn't
  have one.

- "All keywords" warning support, through the -DSWIG_ALLKW
  option.

Read the Changes.current


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
Dave Beazley
ffe434c22f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 12:44:49 +00:00
Dave Beazley
09d0af6fea Added pack/unpack functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 18:07:36 +00:00
Dave Beazley
82986fa76b Fixed [ 755382 ] calling func(const vector<T>& p) evaluates p[0] in interp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 19:47:14 +00:00
Dave Beazley
03eaf2d72a Added member pointer typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:53:43 +00:00
William S Fulton
3dfbcbb02c Corrected SWIGEXPORT to SWIGIMPORT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
Dave Beazley
293269b03c Fixed [ 848824 ] Bug in dispatch function when having overloaded functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:12:20 +00:00
Luigi Ballabio
5e161fa7cd Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
Dave Beazley
282ccb13f7 Contract cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:25 +00:00
Dave Beazley
4a182a930a Simplified contract API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:53 +00:00
Dave Beazley
fe5fb9114a Added contract support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:58:39 +00:00
Matthias Köppe
f331b98ae2 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@5253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 23:14:23 +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