Commit graph

62 commits

Author SHA1 Message Date
William S Fulton
052d067feb varin enum SWIGTYPE mods to handle unnamed enums
varin char[] typemap


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-25 21:33:46 +00:00
William S Fulton
abeef193d2 missing throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 21:44:54 +00:00
Luigi Ballabio
5f4860beb0 Fixed bug [948521]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:12:20 +00:00
Luigi Ballabio
d63e8e6fc3 Fixed bug [948583]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:07:39 +00:00
Matthias Köppe
783d69e252 New common runtime function SWIG_TypePrettyName.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-06 09:51:37 +00:00
Luigi Ballabio
30fe3353a5 Fix for std::vector Tcl typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Dave Beazley
02526f0491 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 18:29:00 +00:00
Marcelo Matus
f790c57f5d 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@5546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 06:15:46 +00:00
Marcelo Matus
ea0f636eae - 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@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
Dave Beazley
c3a422cead *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 12:44:49 +00:00
Dave Beazley
97e67f76ee Added pack/unpack functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 18:07:36 +00:00
Dave Beazley
50b6ef5d15 Fixed [ 755382 ] calling func(const vector<T>& p) evaluates p[0] in interp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-02 19:47:14 +00:00
Dave Beazley
d99face03c Added member pointer typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 18:53:43 +00:00
William S Fulton
dfd57099df Corrected SWIGEXPORT to SWIGIMPORT
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 21:51:10 +00:00
Dave Beazley
c17e494888 Fixed [ 848824 ] Bug in dispatch function when having overloaded functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-25 16:12:20 +00:00
Luigi Ballabio
09ec4edb93 Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
Dave Beazley
0d090075b5 Contract cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:25 +00:00
Dave Beazley
0479fc63c4 Simplified contract API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:53 +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
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
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
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
9a8406dc10 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:24:17 +00:00
William S Fulton
5f46cf7d6b __cpluscplus typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:23:09 +00:00
Dave Beazley
dd60c77db0 Fixed [ 791579 ] (unsigned) long long handled incorrectly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:02:03 +00:00
William S Fulton
aac99296a7 Cleaned up new warnings introduced by prev patch
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-22 22:26:39 +00:00
Luigi Ballabio
10138e60b9 Typemap for size_t applied to std::size_t
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Dave Beazley
7b52266e7d Fixed [ 787432 ] long param handled as int
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 17:47:33 +00:00
Luigi Ballabio
8c35d20048 std::pair added (but not very much tested)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
William S Fulton
c3b517df76 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@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
Luigi Ballabio
9f9b5aadab Missing files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 13:02:58 +00:00
Dave Beazley
287fba676f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:01:19 +00:00
Dave Beazley
d6477b1912 Added void * typemap to fix Examples/tcl/value (not really sure why this
was missing in the first place).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 18:03:50 +00:00
William S Fulton
18dc9ec458 long long typemap mods for using with %apply by compilers that don't understand long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:50:14 +00:00
Dave Beazley
704514563a Added long long typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 17:26:32 +00:00
Dave Beazley
33617a5abd Fixed compilation problem with dynamic_cast test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:31:41 +00:00
William S Fulton
9f8a23ca5a long long typemap mods for use with %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
Luigi Ballabio
34521b3eb6 Support for std::map (thanks, Dave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Dave Beazley
41307d05ba Removed some unused variable warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Dave Beazley
6cfc64197b Fixed [ 689040 ] Missing return value in std_vector.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
William S Fulton
8bdec0c0a9 bool mods for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:41:07 +00:00
William S Fulton
be2645fa50 bool mods for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:33:53 +00:00
William S Fulton
78b1e520dd Fixes for SWIGTYPE& varin and varout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:07:42 +00:00
Luigi Ballabio
be4e37e548 A global stl.i works just as well
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Luigi Ballabio
0d298a55e2 Fixed constructors and default arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-12 16:08:26 +00:00
Dave Beazley
57b2255211 Fixed to DYNAMIC typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 15:45:38 +00:00
Dave Beazley
0605a5125c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:10:17 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
2af607dcf6 Major fixes to pointer libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 19:25:15 +00:00
Dave Beazley
91aae3a92c Fixed pointer library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:37:14 +00:00