From: Marcelo M. <mar...@us...> - 2005-12-18 00:10:03
|
Update of /cvsroot/swig/SWIG/Lib/typemaps In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32713/Lib/typemaps Modified Files: swigmacros.swg Log Message: export SWIG version Index: swigmacros.swg =================================================================== RCS file: /cvsroot/swig/SWIG/Lib/typemaps/swigmacros.swg,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** swigmacros.swg 10 Dec 2005 20:20:19 -0000 1.9 --- swigmacros.swg 18 Dec 2005 00:09:53 -0000 1.10 *************** *** 108,111 **** --- 108,120 ---- %enddef + /* insert the SWIG_VERSION in the code */ + #if SWIG_VERSION + %insert("header") { + %define_as(SWIGVERSION, SWIG_VERSION) + } + #endif + + + /* ----------------------------------------------------------------------------- * Casting operators *************** *** 140,144 **** } - /* ----------------------------------------------------------------------------- --- 149,152 ---- |