Scilab: fix SWIT_Init() close in C mode
This commit is contained in:
parent
d034386fc6
commit
077e69a851
2 changed files with 1 additions and 2 deletions
|
|
@ -253,5 +253,4 @@ SWIG_Scilab_SetModule(swig_module_info *swig_module)
|
|||
extern "C"
|
||||
int SWIG_Init(char *fname, unsigned long fname_len) {
|
||||
SWIG_InitializeModule(NULL);
|
||||
#endif
|
||||
%}
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue