export SWIG version

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-18 00:09:53 +00:00
commit b1f8846f0b

View file

@ -107,6 +107,15 @@ nocppval
#endif #endif
%enddef %enddef
/* insert the SWIG_VERSION in the code */
#if SWIG_VERSION
%insert("header") {
%define_as(SWIGVERSION, SWIG_VERSION)
}
#endif
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Casting operators * Casting operators
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */
@ -140,7 +149,6 @@ nocppval
} }
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Allocating/freeing elements * Allocating/freeing elements
* ----------------------------------------------------------------------------- */ * ----------------------------------------------------------------------------- */