Scilab: init function name SWIG_Init() changed to <module>_Init()
This commit is contained in:
parent
109c65f52f
commit
77da84f549
7 changed files with 22 additions and 20 deletions
|
|
@ -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();
|
||||
%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue