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
This commit is contained in:
parent
9fc127d68b
commit
7dfd9aae31
32 changed files with 2388 additions and 22 deletions
|
|
@ -247,10 +247,17 @@
|
|||
|
||||
/* please leave 850-869 free for Modula 3 */
|
||||
|
||||
#define WARN_PHP4_MULTIPLE_INHERITANCE 870
|
||||
#define WARN_PHP4_UNKNOWN_PRAGMA 871
|
||||
/* These are needed for backward compatibility, but you don't need to add
|
||||
* PHP4 versions of new warnings since existing user interface files can't
|
||||
* be using them.
|
||||
*/
|
||||
#define WARN_PHP4_MULTIPLE_INHERITANCE 870
|
||||
#define WARN_PHP4_UNKNOWN_PRAGMA 871
|
||||
|
||||
/* please leave 870-889 free for Php */
|
||||
#define WARN_PHP_MULTIPLE_INHERITANCE 870
|
||||
#define WARN_PHP_UNKNOWN_PRAGMA 871
|
||||
|
||||
/* please leave 870-889 free for PHP */
|
||||
|
||||
|
||||
/* Feel free to claim any number in this space that's not currently being used. Just make sure you
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ eswig_SOURCES = CParse/cscanner.c \
|
|||
Modules/octave.cxx \
|
||||
Modules/overload.cxx \
|
||||
Modules/perl5.cxx \
|
||||
Modules/php4.cxx \
|
||||
Modules/php.cxx \
|
||||
Modules/pike.cxx \
|
||||
Modules/python.cxx \
|
||||
Modules/r.cxx \
|
||||
|
|
|
|||
2359
Source/Modules/php.cxx
Normal file
2359
Source/Modules/php.cxx
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue