Scilab: fix dynamic_cast test error
This commit is contained in:
parent
ca2ee4ff98
commit
caf2db6b8d
2 changed files with 12 additions and 9 deletions
|
|
@ -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();
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue