diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-10-13 19:46:51 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-10-13 19:47:43 +0100 |
commit | 46f7501d94f8fb3432863344aeda6d4fd85fb1a4 (patch) | |
tree | 01162c59beeaf74db67799578dd944d9c9815033 /Lib/ocaml | |
parent | e123c2afe84ea29c5a7c9561c7e3355283001477 (diff) | |
download | swig-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/ocaml')
-rw-r--r-- | Lib/ocaml/ocaml.i | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/ocaml/ocaml.i b/Lib/ocaml/ocaml.i index 117d0a9b5..cc26d1859 100644 --- a/Lib/ocaml/ocaml.i +++ b/Lib/ocaml/ocaml.i @@ -4,8 +4,6 @@ * SWIG Configuration File for Ocaml * ----------------------------------------------------------------------------- */ -%include <typemaps/swigversion.swg> - /* Insert common stuff */ %insert(runtime) "swigrun.swg" |