Use SWIGPHP instead of SWIGPHP4

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2006-09-29 10:09:23 +00:00
commit 4fcad024ae
4 changed files with 4 additions and 3 deletions

View file

@ -118,6 +118,7 @@ SWIGPERL Defined when using Perl
SWIGPERL5 Defined when using Perl5
SWIGPHP Defined when using PHP
SWIGPHP4 Defined when using PHP4
SWIGPHP5 Defined when using PHP5
SWIGPIKE Defined when using Pike
SWIGPYTHON Defined when using Python
SWIGRUBY Defined when using Ruby

View file

@ -6,7 +6,7 @@
#include "gifplot.h"
%}
#if defined(SWIGJAVA ) || defined(SWIGPHP4)
#if defined(SWIGJAVA ) || defined(SWIGPHP)
%rename(make_default) ColorMap::default();
#endif

View file

@ -66,7 +66,7 @@ see bottom for a set of possible tests
%}
#endif
#ifdef SWIGPHP4
#ifdef SWIGPHP
%rename(AndOperator) operator &&;
%rename(OrOperator) operator ||;
#endif

View file

@ -287,7 +287,7 @@ inline const char* mangle ## #@__VA_ARGS__ () {
#ifdef SWIGRUBY
%rename(ddefined) defined;
#endif
#ifdef SWIGPHP4
#ifdef SWIGPHP
%rename(endif_) endif;
#endif
%inline %{