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:
parent
77d91d1af5
commit
4fcad024ae
4 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "gifplot.h"
|
||||
%}
|
||||
|
||||
#if defined(SWIGJAVA ) || defined(SWIGPHP4)
|
||||
#if defined(SWIGJAVA ) || defined(SWIGPHP)
|
||||
%rename(make_default) ColorMap::default();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ see bottom for a set of possible tests
|
|||
%}
|
||||
#endif
|
||||
|
||||
#ifdef SWIGPHP4
|
||||
#ifdef SWIGPHP
|
||||
%rename(AndOperator) operator &&;
|
||||
%rename(OrOperator) operator ||;
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -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 %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue