Scilab: fix SWIT_Init() close in C mode

This commit is contained in:
Simon Marchetto 2013-07-31 11:57:16 +02:00
commit 077e69a851
2 changed files with 1 additions and 2 deletions

View file

@ -209,7 +209,7 @@ public:
Delete(builderFile);
/* Close the init function (opened in sciinit.swg) */
Printf(initSection, "return 0;\n}\n");
Printf(initSection, "return 0;\n}\n#endif\n");
/* Write all to the wrapper file */
SwigType_emit_type_table(runtimeSection, wrappersSection); // Declare pointer types, ... (Ex: SWIGTYPE_p_p_double)