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

@ -1,7 +1,7 @@
lines(0);
ilib_verbose(0);
exec loader.sce;
SWIG_Init();
example_Init();
printf("\nConstants are wrapped by functions:\n");
printf("ICONST = %i (should be 42)\n", ICONST);

View file

@ -1,7 +1,7 @@
lines(0);
ilib_verbose(0);
exec loader.sce;
SWIG_Init();
example_Init();
printf("\nTesting use of enums (wrapped as Scilab variables)\n");

View file

@ -1,7 +1,7 @@
lines(0);
ilib_verbose(0);
exec loader.sce;
SWIG_Init();
example_Init();
// This example shows how to use C++ fonctions with STL lists arguments
// Here, STL lists are converted from/to Scilab matrices (SWIG_SCILAB_EXTRA_NATIVE_CONTAINERS is not defined)

View file

@ -1,7 +1,7 @@
lines(0);
ilib_verbose(0);
exec loader.sce;
SWIG_Init();
example_Init();
disp(mean([1,2,3,4]));