Commit graph

2 commits

Author SHA1 Message Date
Olly Betts
b2cea3c42a [PHP] For std_vector.i and std_map.i, rename empty() to is_empty()
since "empty" is a PHP reserved word.  Based of patch from Mark Klein
in SF#1943417.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-04 01:22:11 +00:00
Olly Betts
7dfd9aae31 WARN_* constants are user visible, so keep existing WARN_PHP4_* for
backward compatibility, but add preferred forms WARN_PHP_* and use
these ourselves.

Rename Lib/php4 to Lib/php, Source/Modules/php4.cxx to Source/Modules/php.cxx.
 
Add typemaps for const reference so Examples/test-suite/apply_signed_char.i
works.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:09:56 +00:00
Renamed from Lib/php4/std_vector.i (Browse further)