PHP: fix for the wrapmacro testcase
'max' is a built-in function in PHP, so let's rename it to 'maximum' instead. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
31ad548c6b
commit
88a934d7f0
4 changed files with 10 additions and 9 deletions
|
|
@ -2,6 +2,6 @@ import wrapmacro
|
|||
|
||||
a = 2
|
||||
b = -1
|
||||
wrapmacro.max(a,b)
|
||||
wrapmacro.max(a/7.0, -b*256)
|
||||
wrapmacro.maximum(a,b)
|
||||
wrapmacro.maximum(a/7.0, -b*256)
|
||||
wrapmacro.GUINT16_SWAP_LE_BE_CONSTANT(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue