Make dynamic_cast.cpptest work

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Vincent Couvert 2011-05-30 13:46:03 +00:00
commit b64c8e753e
2 changed files with 12 additions and 0 deletions

View file

@ -176,3 +176,12 @@ return SWIG_OK; \
#define SwigScilabRaise(OBJ, TYPE, DESC) Scierror(999, "C++ side threw an exception of type %s.\n", TYPE)
%}
//%insert(init) "swiginit.swg"
%init %{
/* -----------------------------------------------------------------------------*
* Partial Init method
* -----------------------------------------------------------------------------*/
SWIGEXPORT int SWIG_init(void) {
%}