From bbd2e60f3b7ff7335176caaf4f1c452eadbdaca5 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Sun, 18 Dec 2005 00:35:56 +0000 Subject: [PATCH] add SWIGVERSION to both the interface and the code git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8003 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/Lib/typemaps/swigmacros.swg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) }