diff --git a/SWIG/Lib/typemaps/swigmacros.swg b/SWIG/Lib/typemaps/swigmacros.swg index 9af455af8..6fc6e40ea 100644 --- a/SWIG/Lib/typemaps/swigmacros.swg +++ b/SWIG/Lib/typemaps/swigmacros.swg @@ -107,8 +107,9 @@ nocppval #endif %enddef -/* insert the SWIG_VERSION in the code */ +/* insert the SWIGVERSION in the interface and the wrapper code */ #if SWIG_VERSION +#define SWIGVERSION SWIG_VERSION %insert("header") { %define_as(SWIGVERSION, SWIG_VERSION) }