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
This commit is contained in:
Marcelo Matus 2005-12-18 00:35:56 +00:00
commit bbd2e60f3b

View file

@ -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)
}