Commit graph

5 commits

Author SHA1 Message Date
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
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
William S Fulton
49be05f4fd Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:14:10 +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