Kevin Ruland
febf005df2
Added support for a %shutdown %{ %}, or %insert("shutdown") %{ %} block to
...
inject code into the PHP_MSHUTDOWN_FUNCTION.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 17:42:31 +00:00
Kevin Ruland
3ab65a48a0
Fairly major update to php code generation and type library. Brief summary:
...
- Revised simplified makefile generation using -make switch.
- Proper support of in, out, argout, ret typemaps.
- Function overloading with typecheck typemap support.
- Fragment inclusion in typemaps.
- Proper handling of object destructors relying on PHP's reference counting.
- Constants using consttab and varinit typemaps.
- Global variables using varinit typemaps.
- Can generate C++ bindings using either objects or no objects (-noproxy).
- Special phppointer.i typemaps for using php references for pointer passing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 17:10:11 +00:00
Kevin Ruland
522ab32693
Updated examples to function correctly with new php4 module. Added
...
some supplemental examples for cpointer, overloading and references using
proxies.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 16:32:41 +00:00
Kevin Ruland
e2379c2b28
Wrapper only generates object level method bindings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 15:19:53 +00:00
Kevin Ruland
95c39431ed
Change so extra methods and classes only cause a warning instead of failure.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 15:18:09 +00:00
Marcelo Matus
e380e27391
fix #endif position bug #1249878
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 10:55:05 +00:00
Marcelo Matus
889662c81d
fix import order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 10:41:29 +00:00
Marcelo Matus
49c78502c1
fix fabrice sort problem, maybe
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:43:55 +00:00
William S Fulton
693a0d45fc
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:21:14 +00:00
William S Fulton
006eda3f84
Fix incorrect usage of $owner in varout typemaps added in last commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:20:39 +00:00
William S Fulton
f6a17a171c
64 bit platform fixes for the varargs handling in SWIG_GetArgs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:18:43 +00:00
William S Fulton
019f10805e
Fix swig -help since support for -lua was added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:17:28 +00:00
William S Fulton
509a391877
Implement support for SWIGTYPE* DISOWN typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:16:34 +00:00
Surendra Singhi
6982a6adc6
Fixed the def-c-type declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 05:17:29 +00:00
William S Fulton
01706e6824
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:38:56 +00:00
William S Fulton
878f80fc0c
%newobject tests from Bob Marinier
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:38:23 +00:00
William S Fulton
b366ef3d48
%newobject support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:36:38 +00:00
William S Fulton
562759198b
.cvsignore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 21:04:44 +00:00
William S Fulton
6701ce5451
Lua support from Mark Gossage (missing file that was not checked in with the rest of the patch)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:58:15 +00:00
William S Fulton
e48dd69b4d
remove define for bool - needed for visual studio compilers when stl headers are used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:39:01 +00:00
William S Fulton
523d423595
minor type correction to remove unsigned/signed mismatch warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:35:53 +00:00
William S Fulton
7353b9cea4
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:34:12 +00:00
William S Fulton
68f6c0d999
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:27:02 +00:00
William S Fulton
f0bc0ede27
Intel compiler fix for __int64 typedef redefinition
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:26:44 +00:00
William S Fulton
ffe9e4bd1b
rename macro due to name clash on Windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:25:52 +00:00
William S Fulton
9ee0bd7a92
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 21:44:04 +00:00
William S Fulton
a2f4853ce5
Bug #1251832 - C++ template may generate invalid XML file (+correction)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 21:42:13 +00:00
William S Fulton
36e91fc651
operator overloading tests from Mark Gossage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:59:55 +00:00
William S Fulton
3941e19141
Support for Lua added - patch from Mark Gossage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:58:56 +00:00
William S Fulton
f498799a5b
Support for Lua added - patch from Mark Gossage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:44:08 +00:00
William S Fulton
e590565fe8
Support for Lua added - patch from Mark Gossage
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:38:34 +00:00
William S Fulton
f74c045cca
Fix incorrect xml escaping in base class name when base class is a template
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 21:20:40 +00:00
Surendra Singhi
c061a4f160
Added comments on changes to the clisp module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 05:38:55 +00:00
Surendra Singhi
befa353f3c
Added support for enums and other minor fixes and improvements.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 05:30:26 +00:00
Matthias Köppe
1a2ad4eb4b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 15:14:24 +00:00
Matthias Köppe
be0282570a
New language module: Common Lisp with UFFI.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 15:09:15 +00:00
Matthias Köppe
157122907b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 14:59:46 +00:00
Matthias Köppe
aad197e2d0
Connect the usual targets to an output sink.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 14:57:48 +00:00
Matthias Köppe
969859575f
Remove unnecessary #ifndef SWIGSEXP
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-09 14:57:00 +00:00
William S Fulton
ceca615cc9
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:29:12 +00:00
William S Fulton
c2dc8d3c30
use exception specification instead of %exception to handle STL error checking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:28:54 +00:00
William S Fulton
03a67698a9
use exception specification instead of %exception to handle STL error checking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
ebde3e6253
remove duplicate csout typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-25 21:05:58 +00:00
Surendra Singhi
78d9b75580
Fixed the double float type.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 07:06:31 +00:00
Surendra Singhi
aec373c3d0
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 05:49:25 +00:00
Surendra Singhi
4dfb8dee6c
Added support for pointer to functions. Added support for typedefs and a option which will allow to generate "def-c-type" for typedefs.
...
Joerg Hoehle suggested that while declaring arrays "c-ptr" should be used.
Changed the name of generate-all option to extern-all.
Now declaring pointers to integers, short, float and double as c-ptr instead of c-pointer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-23 05:34:11 +00:00
William S Fulton
e2b60d3b10
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:50:48 +00:00
William S Fulton
4c4ef84975
null attribute support in out typemap for $null special variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:50:31 +00:00
William S Fulton
ee02102626
variable name 'in' is a c# keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:43:39 +00:00
William S Fulton
3a34297cef
SWIG_exception mods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:42:00 +00:00