Just disable SWIGWARN_PARSE_KEYWORD for li_math.i under PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dd96b09e68
commit
4297c7de33
1 changed files with 5 additions and 0 deletions
|
|
@ -1,2 +1,7 @@
|
|||
%module li_math
|
||||
#ifdef SWIGPHP
|
||||
// PHP already provides these functions with the same names, so just kill that
|
||||
// warning.
|
||||
%warnfilter(SWIGWARN_PARSE_KEYWORD);
|
||||
#endif
|
||||
%include math.i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue