Scilab: init function name SWIG_Init() changed to <module>_Init()

This commit is contained in:
Simon Marchetto 2013-09-18 10:24:47 +02:00
commit 77da84f549
7 changed files with 22 additions and 20 deletions

View file

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