Scilab: fix dynamic_cast test error

This commit is contained in:
Simon Marchetto 2013-09-24 11:39:55 +02:00
commit caf2db6b8d
2 changed files with 12 additions and 9 deletions

View file

@ -267,3 +267,12 @@ SWIG_Scilab_SetModule(swig_module_info *swig_module)
%}
%insert(init) "swiginit.swg"
%init %{
#ifdef __cplusplus
extern "C"
#endif
int <module>_Init(char *fname, unsigned long fname_len) {
SWIG_InitializeModule(NULL);
SWIG_CreateScilabVariables();
%}