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

@ -25,10 +25,11 @@ end
// Module initialization
try
SWIG_Init();
moduleInit = sprintf("%s_Init()", swigtestname);
ierr = execstr(moduleInit);
catch
mprintf("*** MODULE INIT FAILED ***\n");
exit(1)
exit(ierr)
end
// Error management function