Mikel Bancroft
2ca5ae2751
[allegrocl] see CHANGES.current.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-07 19:34:18 +00:00
William S Fulton
4e5940e753
InvalidCastException added for throwing from unmanaged code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-04 00:21:28 +00:00
William S Fulton
cb6ebd6f18
directorout const string& fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 21:57:27 +00:00
Art Yerkes
5a48748561
Sorry i haven't been here in a while.
...
camlp4 bug was caught by Michael Ethier <methier@cgr.harvard.edu>
- director.swg: fix a typo
- ocamldec.swg, ocaml.swg: new macros
- ac_compare_version.m4: arty's own more liberally licensed version compare
autoconf macro.
- configure.in: use version_compare and make swigp4.ml generated by
configure based on ocaml version. This is due to an incompatible change
in camlp4.
- ocaml.cxx: use new return macros in the right places
(returning non-value)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 07:28:42 +00:00
John Lenz
abcc3b8b5e
Patch from Chris Shoemaker to clean up some warnings in the guile module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-30 04:44:46 +00:00
Mark Gossage
fec2f8f9b7
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@9472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 06:26:48 +00:00
William S Fulton
3c24cacfbd
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@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
William S Fulton
1247cd7cc5
Fixes for %apply char *, char[], char[ANY] to other types, like unsigned char
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 21:35:19 +00:00
William S Fulton
45956b1728
const size_t& typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:43:40 +00:00
John Lenz
a315c315fb
- 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@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
Mark Gossage
f073625488
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@9450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 07:15:52 +00:00
William S Fulton
ea6f44edd2
Avoid potential race conditions on the Dispose() method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:10:18 +00:00
William S Fulton
2780b5ee3b
Avoid potential race conditions on the delete() method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00
Olly Betts
e92b336fc5
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@9440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:04:41 +00:00
William S Fulton
fa25ee685c
Revert last change, it breaks the test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:47 +00:00
William S Fulton
5fed507b72
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@9436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:25 +00:00
Olly Betts
1842ced9b5
Need to use .c_str() not ->c_str() with "const std::string &".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 11:44:08 +00:00
Mark Gossage
be9aaba2b2
[Lua] Fix #1569587 . The name is now correct
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:21 +00:00
Olly Betts
a908d9d50b
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@9406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:25:38 +00:00
Olly Betts
adf46e4378
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@9404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:40:04 +00:00
Mark Gossage
628bc386cc
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@9399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:21:02 +00:00
William S Fulton
bd2055c3b6
remove last checkin which isn't used anywhere
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:27:34 +00:00
Olly Betts
62949e02e3
Fix for handling strings with zero bytes from Stephen Hutsal.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 08:59:19 +00:00
Olly Betts
77d91d1af5
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@9379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-29 10:03:50 +00:00
Olly Betts
cb8dd113f2
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@9373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:42:36 +00:00
Olly Betts
1249f48ce0
Fix a few more typos in comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 06:39:07 +00:00
William S Fulton
22089355d6
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
William S Fulton
715981befc
contents moved to director.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 21:16:45 +00:00
Olly Betts
d0f40fc66e
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@9366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:52:24 +00:00
Olly Betts
83be79909a
Fix typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-26 07:48:20 +00:00
William S Fulton
6260b2ed8e
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@9364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 22:02:32 +00:00
Olly Betts
af0e3e86e6
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@9351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 21:55:30 +00:00
Olly Betts
029c7b4e6d
Fix typo: "loop though" -> "loop through"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 17:22:27 +00:00
Olly Betts
6e47d7e5c6
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@9333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 21:39:09 +00:00
William S Fulton
edd5bfeb1a
%ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
Olly Betts
3dc5e0e91a
Overload resolution now works in PHP out of the box.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:59:07 +00:00
Olly Betts
29098f6ad2
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@9304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:37:50 +00:00
Olly Betts
4ad3708693
Fix typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:51:00 +00:00
William S Fulton
5ee69cd80c
Bug #1491606 compiler warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-19 21:50:37 +00:00
Mark Gossage
5aef673f75
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@9294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-18 05:44:22 +00:00
Hans Oesterholt-Dijkema
f309ae3953
* Bug fix in the dynamic loading code of the mzscheme binding
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-17 20:55:27 +00:00
William S Fulton
3401e005f1
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@9289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 09:57:26 +00:00
William S Fulton
ec0b9ecfdd
remove double include of python header file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-14 22:39:52 +00:00
William S Fulton
49316589b9
- 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@9272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:45:31 +00:00
Mark Gossage
7c475898c2
added support for multiple modules & multiple interpreters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:49:47 +00:00
Mark Gossage
db5bb83440
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@9264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:45:03 +00:00
Olly Betts
6bf67f2412
Fix a few typos in comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:38:45 +00:00
Olly Betts
3a5fb61abe
Apply patch from SF bug: [ 1466086 ] PHP namespace clash - ErrorCode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:18:01 +00:00
Joseph Wang
fdb2e62161
rename non-classes operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:48 +00:00
Mark Gossage
a8451e7c69
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@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00