Olly Betts
aadfee78ac
Fix testsuite to run under PHP after recent PHP testsuite changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:15:27 +00:00
Olly Betts
7f2a849617
Revert the "automatic -noproxy for C code" change (for now at least) - the
...
testsuite contains examples with proxy classes for C code, so it's not as
obviously correct a change as I had thought.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:00:51 +00:00
Olly Betts
fe4a39819c
Treat a nested class definition as a forward declaration rather
...
than ignoring it completely, so that we generate correct code for
passing opaque pointers to the nested class (fixes SF bug #909387 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 08:04:24 +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
Olly Betts
9eb77c5800
Previously -noproxy was required when wrapping some C code
...
to avoid SWIG generating new_XXX methods. Now proxy classes are
only ever enabled when wrapping C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:32:22 +00:00
Olly Betts
98b14d6f1d
Fix the PHP Examples to build and run like the other languages do.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:28:27 +00:00
Olly Betts
0915d45c2c
Use NewStringEmpty() rather than NewString("").
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 02:00:42 +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
Olly Betts
b1c76adc32
Remove an unused temporary buffer
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-19 18:22:11 +00:00
Olly Betts
93d3c4b6d2
Use the DOH String instead of a static char array.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-19 18:13:53 +00:00
Mark Gossage
194b9336d4
updated to changes file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-18 05:45:46 +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
Olly Betts
f0e3702a26
Remove fixed limit on number of command line options.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 16:43:15 +00:00
Olly Betts
6768f5d255
Remove unused variable "var_name"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 11:29:06 +00:00
William S Fulton
d3cac2d0ea
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 09:57:54 +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
5d40ec2692
Bug #1472089 - clearer first example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 23:05:36 +00:00
William S Fulton
92951b16c1
clearer example - patch #1524059
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:14:34 +00:00
William S Fulton
af7745e663
links added - patch #1524088
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:07:28 +00:00
William S Fulton
7a3f2420d3
links added - patch #1524096
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:03:09 +00:00
William S Fulton
11fe04c255
links added - patch #1524076
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 22:00:56 +00:00
Olly Betts
2b307133c7
Fix a few typos in comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-15 19:22:15 +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
7d2ce752ac
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:19:00 +00:00
William S Fulton
ec12094f5f
cleanup Mono debris
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:18:43 +00:00
William S Fulton
fadfebf367
- 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@9279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:16:34 +00:00
William S Fulton
4bffbcee7e
cleanup Mono debris
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:05:16 +00:00
William S Fulton
0dcd061841
director base method call tests to check recursive director method problem has gone away
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:58:09 +00:00
William S Fulton
b4c0229545
same Java class names used in different tests breaking the test fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:56:46 +00:00
William S Fulton
f0d1d772fa
- 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@9275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:55:24 +00:00
William S Fulton
a19cc4444e
remove DOS CR/LF in mgossage entries
...
Add in explicitcall removal and director recursive call changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:54:12 +00:00
William S Fulton
1750a7f342
default arg fixes for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:47:05 +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
William S Fulton
17e3a149dc
more directors and default arg tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:36:44 +00:00
William S Fulton
2f3642ab6a
missing %feature(director)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:35:49 +00:00
William S Fulton
e5bb501b19
explicitcall feature removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:34:05 +00:00
William S Fulton
bee87a99fb
Remove R explicit workaround
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:32:10 +00:00
William S Fulton
0711db2742
ruby warning suppression
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:31:42 +00:00
Mark Gossage
0136671c59
added support for multiple modules & multiple interpreters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:55:38 +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
Olly Betts
b42168cf6e
[php] Move constant initialisation from RINIT to MINIT to fix a
...
warning when using Apache and mod_php. We only need to create
PHP constants once when we're first initialised, not for every HTTP
request.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-29 02:29:16 +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
Joseph Wang
a7207e3b89
change the logic for the test. As it was, it always failed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-26 20:23:11 +00:00
Joseph Wang
9b7572a16f
add methods call and deref for functor and dereferencing operators
...
add hash to make sure that each method only appears once
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 22:48:58 +00:00