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
377175f813
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 21:59:07 +00:00
Matthias Köppe
110924a6f5
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.
[Python]: Add the function SWIG_MustGetPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 14:47:06 +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
125f909f1a
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
__swig_std_complex_i__
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:20:14 +00:00
William S Fulton
d50330f7ea
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
_SwigImport_Inittab
Dave can you double check this doesn't have dire consequences.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:19:47 +00:00
William S Fulton
9ecbd6f614
- 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@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +00:00
William S Fulton
f569dd135d
__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@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
6e052aeb1d
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@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +00:00
Dave Beazley
ec6d8dbd46
Fixes for partial specialization change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 20:00:05 +00:00
Tiger Feng
75ca26902b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:19:41 +00:00
Dave Beazley
62c3f3642a
Fixed [ 798205 ] Segfault in SWIG_ConvertPtr.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:11:13 +00:00
Mark Rose
c14abb83fe
Complex director typemap fixes (python)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 08:08:43 +00:00
Mark Rose
c1b57370b6
Abstract directors and typemap fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
Luigi Ballabio
c48f73d7aa
Allow for strings with embedded zeros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 12:00:17 +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
Mark Rose
f3e1293b6f
Director typemap cleanup and return by value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 02:38:45 +00:00
William S Fulton
804504a3a6
Minor warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 08:31:10 +00:00
Dave Beazley
b5b4699cde
Improved error message. Contributed by Zooka.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-28 22:04:15 +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
Tiger Feng
dde9afd927
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:12:35 +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
Dave Beazley
dfcf44cba5
Added setter for global arrays.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:57 +00:00
Tiger Feng
d2d6640236
contract: SWIG_assertion(expr) for python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:17:23 +00:00
Dave Beazley
56d7071ffa
Experimental contract work.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 18:08:26 +00:00
Luigi Ballabio
25fbc470b2
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 07:33:09 +00:00
Luigi Ballabio
65cffcce15
Miscellaneous patches from users
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-02 07:41:56 +00:00
Mark Rose
eb5842504d
one more signed/unsigned fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:54:16 +00:00
Mark Rose
91410de78d
signed/unsigned comparison fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 02:35:42 +00:00
Mark Rose
d0f9431db8
partial fix for abstract director classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
Luigi Ballabio
471f1d43d8
std::map ready for prime time (hopefully)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 15:38:02 +00:00
Dave Beazley
8ca5543263
Added DISOWN typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 12:38:06 +00:00
Mark Rose
47710c7dda
changed -fdirectors option to %module option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +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
Mark Rose
bd40a83f1c
polymorphism patch merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +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
2acbff274a
Added void prototype. [ 635347 ] Compilation warning from libpy.c.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-25 21:13:44 +00:00
Luigi Ballabio
524636ef1c
Allow returning std::strings with embedded null characters (why one would want to do this is beyond my understanding)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 17:13:13 +00:00
Marcelo Matus
b3af12ffb7
Fixed an overload error with the complex type (missing typecheck)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 01:48:54 +00:00
Dave Beazley
cc945e2bf4
Fixed [ 651355 ] Syntax error with cstring.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:13:11 +00:00
William S Fulton
410b833cf7
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@4261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:09:30 +00:00
William S Fulton
12edcac7ae
bool typemap rewrite to keep Visual C++ happy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-07 22:08:50 +00:00
Luigi Ballabio
881217f965
Typemap fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 11:02:04 +00:00
Luigi Ballabio
a060864465
Using PyLong_Foo where appropriate (I think)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-29 13:05:06 +00:00
Luigi Ballabio
8324a4a252
typechecks were leaking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-18 13:19:41 +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
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