Marcelo Matus
f3c94c3aca
fix tcl + -namespace + constants(enum)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:28:00 +00:00
John Lenz
b83fe6bd77
- 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@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
William S Fulton
31d1012b0a
removed redundant valuewrapper feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
aa85fa1a1e
add %typemap(varin) SWIGTYPE[], fix some typemaps to be safe for %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:38:44 +00:00
Marcelo Matus
4855fb73ae
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@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
Marcelo Matus
fe6577b729
fix long long + apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 11:36:03 +00:00
John Lenz
4645346381
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@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
John Lenz
0e57357472
Fix a few bugs in the tcl module related to clientdata propagation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
Marcelo Matus
c1ed709013
fix #if __cplusplus problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
John Lenz
9dead7a11d
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@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
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