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
%enddef
/* insert the SWIG_VERSION in the code */
#if SWIG_VERSION
%insert("header") {
%define_as(SWIGVERSION, SWIG_VERSION)
}
#endif
/* -----------------------------------------------------------------------------
* Casting operators
* ----------------------------------------------------------------------------- */
@ -139,7 +148,6 @@ nocppval
%define_as(SWIG_as_voidptrptr(a), ((void)%as_voidptr(*a),%reinterpret_cast(a, void**)))
}
/* -----------------------------------------------------------------------------
* Allocating/freeing elements