Add min and max as built-in functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1f55c29eee
commit
3675a7baf7
1 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,6 @@
|
|||
#define PHPBN2(x) %builtinwarn("'" `x` "' conflicts with a built-in name in PHP") "::" `x`
|
||||
#define PHPFN(x) %keywordwarn("'" `x` "' is a PHP built-in function, renamed as 'c_" `x` "'",sourcefmt="%(lower)s",%$isfunction,%$not %$ismember,rename="c_%s") `x`
|
||||
|
||||
|
||||
/*
|
||||
From
|
||||
|
||||
|
|
@ -475,6 +474,8 @@ PHPFN(sqrt);
|
|||
PHPFN(ceil);
|
||||
PHPFN(floor);
|
||||
PHPFN(fmod);
|
||||
PHPFN(min);
|
||||
PHPFN(max);
|
||||
|
||||
#undef PHPKW
|
||||
#undef PHPBN1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue