John Lenz
206e5c64af
Patch from Chris Shoemaker to clean up some warnings in the guile module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-30 04:44:46 +00:00
Mark Gossage
2af7e4b447
added support for native methods & member function pointers.
...
fixed test cases arrays_dimensionless & cpp_basic. Added new example (functor).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 06:26:48 +00:00
William S Fulton
24af2d1b11
consistent directout typemaps for all languages - $result used instead of $1 in C# and Java now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
William S Fulton
cff71a3716
Fixes for %apply char *, char[], char[ANY] to other types, like unsigned char
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 21:35:19 +00:00
William S Fulton
ff75eef478
const size_t& typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:43:40 +00:00
John Lenz
56904f30d0
- Fix SF bug 1573892
...
- Minor change to chicken to make it work with version 2.5rc1
- add externaltest to chicken and guile modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
Mark Gossage
5149b7b4f3
fixed several test cases
...
added long long support
changed typemaps to use SWIG_ConvertPtr rather than SWIG_MustGetPointer
started spliting lua.swg into smaller parts to make it neater
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 07:15:52 +00:00
William S Fulton
1be9e42787
Avoid potential race conditions on the Dispose() method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:10:18 +00:00
William S Fulton
4ad8d458d2
Avoid potential race conditions on the delete() method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00
Olly Betts
ba768a2ecc
Reapply the valid half of my previous patch (which fixes the case I
...
just added to the testsuite and doesn't break anything else).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:04:41 +00:00
William S Fulton
ddec395582
Revert last change, it breaks the test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:47 +00:00
William S Fulton
51662d55f3
Fix #1238798 - Directors using unsigned long long or any other type
...
marshalled across the JNI boundary using a Java class (where the jni typemap
contains jobject).
Fix variable name clash in unsigned long long directorin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:25 +00:00
Olly Betts
74f4fc0b40
Need to use .c_str() not ->c_str() with "const std::string &".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 11:44:08 +00:00
Mark Gossage
0ef981882d
[Lua] Fix #1569587 . The name is now correct
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:21 +00:00
Olly Betts
fa8bf1b870
Make the char we use to instantiate single character constants static, as
...
PHP doesn't appear to take a copy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:25:38 +00:00
Olly Betts
a8dc94bf85
Fix #1569587 for PHP. Don't use sizeof() except with string literals. Change
...
some "//" comments to "/* */" for portability.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:40:04 +00:00
Mark Gossage
25062ce4e8
Partial Fix #1569587 . The type is now correct, but the name is still not correct.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:21:02 +00:00
William S Fulton
0982452472
remove last checkin which isn't used anywhere
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:27:34 +00:00
Olly Betts
4e9e588769
Fix for handling strings with zero bytes from Stephen Hutsal.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 08:59:19 +00:00
Olly Betts
baabc2b834
Use SWIGPHP rather than SWIGPHP4 since the latter is now only defined when
...
generating code explicitly for PHP4.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-29 10:03:50 +00:00
Olly Betts
57a68af35f
Register string constants using REGISTER_STRINGL_CONSTANT instead of
...
REGISTER_STRING_CONSTANT since (a) this will cope with embedded zeros
and (b) it'll be fractionally faster.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:42:36 +00:00
Olly Betts
be148c61b3
Fix a few more typos in comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:39:07 +00:00
William S Fulton
95958855cf
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
William S Fulton
4b72de7d62
contents moved to director.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 21:16:45 +00:00
Olly Betts
cf52954bbb
Use SWIG_GE, SWIG_LE, etc instead of >=, <= since the latter cause
...
problems when used as template parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:52:24 +00:00
Olly Betts
a84b5110d7
Fix typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:48:20 +00:00
William S Fulton
a6d091ac16
director_h.swig removed and merged back into director.swg as it used to be to fix #1505591
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 22:02:32 +00:00
Olly Betts
fdd51d4080
Fix Tcl typemaps to handle unsigned long > LONG_MAX and unsigned long long
...
> LONG_LONG_MAX when converting values from Tcl to C/C++. Fixes bug
#1533266 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 21:55:30 +00:00
Olly Betts
f88d434d27
Fix typo: "loop though" -> "loop through"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:22:27 +00:00
Olly Betts
2f6a268e55
Support building with recent versions of the Ruby 1.9 development branch.
...
Fixes bug #1560092 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 21:39:09 +00:00
William S Fulton
d096cc1613
%ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
Olly Betts
5baafd12c0
Overload resolution now works in PHP out of the box.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:59:07 +00:00
Olly Betts
4302d73927
SWIG_TypeCheck() takes a const char * now, so don't cast argument passed
...
to char *!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:37:50 +00:00
Olly Betts
bb1811ee1f
Fix typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:51:00 +00:00
William S Fulton
33ae59c7b0
Bug #1491606 compiler warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-19 21:50:37 +00:00
Mark Gossage
477f02020b
fix on swiginit.swg, has been reported to crash on several test cases
...
found and fixed problem in imports under python (mingw)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-18 05:44:22 +00:00
Hans Oesterholt-Dijkema
c0082db527
* Bug fix in the dynamic loading code of the mzscheme binding
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-17 20:55:27 +00:00
William S Fulton
d6d23465e0
Patch from Michal Marek for Python 2.5 to fix 64 bit array indexes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 09:57:26 +00:00
William S Fulton
e238bed36a
remove double include of python header file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-14 22:39:52 +00:00
William S Fulton
949e220630
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:45:31 +00:00
Mark Gossage
8600c661d6
added support for multiple modules & multiple interpreters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:49:47 +00:00
Mark Gossage
20c2d4bf01
added support for passing function pointers as well as native lua object
...
into wrappered function
added example funcptr3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:45:03 +00:00
Olly Betts
be3662e29b
Fix a few typos in comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:38:45 +00:00
Olly Betts
44eaee3a01
Apply patch from SF bug: [ 1466086 ] PHP namespace clash - ErrorCode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:18:01 +00:00
Joseph Wang
0d9d964b5a
rename non-classes operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:48 +00:00
Mark Gossage
02f0a49bc5
Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00
Surendra Singhi
e88aa73dc5
operator overloading support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-13 13:26:37 +00:00
William S Fulton
e236e10bf7
Fix for directors and non jvm created threads - the jvm would not close
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:12 +00:00
Luigi Ballabio
2ba3707828
Fixes for std::pair typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-01 07:51:45 +00:00
Mikel Bancroft
2709b65d83
07/25/2006: mutandiz
...
[allegrocl]
more additions to std::string, some tweaks and small bug fixes
-nocwrap mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-25 22:59:16 +00:00