diff options
author | Olly Betts <olly@survex.com> | 2021-03-17 09:43:15 +1300 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2021-03-17 09:43:15 +1300 |
commit | 4e0997cd5a2360ccb639436783dc76b855d1ef59 (patch) | |
tree | e78ad6ffe01191004969822fdaa2c566f56dd749 /.travis.yml | |
parent | 6afc3e350462792baf7581d4ddafe80f66590c35 (diff) | |
download | swig-4e0997cd5a2360ccb639436783dc76b855d1ef59.tar.gz |
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.)
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions