Commit graph

4 commits

Author SHA1 Message Date
Olly Betts
4e0997cd5a Conditionalise math.i for PHP
PHP already provides all the wrapped constants and all the wrapped
functions except fabs() (PHP provides abs() instead).  Rewrapping
the constants causes warnings or errors (depending on PHP version)
and the rewrapped functions seem to be hidden by the built-in
versions, so only wrap fabs() for PHP.

(Even a wrapper for fabs() seems of little use since abs() is already
provided, but really math.i seems of little use more generally since
any general purpose programming language will provide its own maths
functions and constants - the key motivation here is to eliminate
warnings and errors from running the testsuite.)
2021-03-17 09:43:15 +13:00
Olly Betts
4297c7de33 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
2009-08-13 14:58:27 +00:00
William S Fulton
a8d7e1540f new name mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:57:56 +00:00
William S Fulton
00bc9d8ee6 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:31:10 +00:00
Renamed from Examples/test-suite/lib_math.i (Browse further)