summaryrefslogtreecommitdiff
path: root/Lib/php
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-10-13 19:46:51 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-10-13 19:47:43 +0100
commit46f7501d94f8fb3432863344aeda6d4fd85fb1a4 (patch)
tree01162c59beeaf74db67799578dd944d9c9815033 /Lib/php
parente123c2afe84ea29c5a7c9561c7e3355283001477 (diff)
downloadswig-46f7501d94f8fb3432863344aeda6d4fd85fb1a4.tar.gz
Cleanup SWIG_VERSION definition
Add Swig_obligatory_macros which must be called by each target language to define SWIG_VERSION correctly in the generated code, as well as the language specific macro SWIGXXX where XXX is the target language name. Drop the #ifdef SWIGXXX that was previously generated - I can't see the point of this and if users are defining this macro somehow, then users will need to change this Closes #1050
Diffstat (limited to 'Lib/php')
-rw-r--r--Lib/php/php.swg2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/php/php.swg b/Lib/php/php.swg
index e14401236..fd0928076 100644
--- a/Lib/php/php.swg
+++ b/Lib/php/php.swg
@@ -4,8 +4,6 @@
* PHP configuration file
* ----------------------------------------------------------------------------- */
-%include <typemaps/swigversion.swg>
-
// Default to generating PHP type declarations (for PHP >= 8) except for
// cases which are liable to cause compatibility issues with existing
// bindings.