diff options
author | YungLee <yjlee123@gmail.com> | 2022-03-15 10:06:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 15:06:17 +1300 |
commit | 31f7b437f413a3e9c6c71c5c79ba7d3e6b6cc6f5 (patch) | |
tree | 1013ce846bb910b985a2c4db22400edb8a783112 /Lib/scilab/sciruntime.swg | |
parent | 9efcc785aeae98b8d46b9d5727e4e38311f6b9b1 (diff) | |
download | swig-31f7b437f413a3e9c6c71c5c79ba7d3e6b6cc6f5.tar.gz |
[scilab] Fix to work on Windows
* Change the builder filename to match the loader filename
* Mark extern functions with SWIGEXPORT
* Fix bug: builder.sce not generated if with '-scilab -builder' option
Fixes #1853
Diffstat (limited to 'Lib/scilab/sciruntime.swg')
-rw-r--r-- | Lib/scilab/sciruntime.swg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/scilab/sciruntime.swg b/Lib/scilab/sciruntime.swg index a2c11d708..e772926f7 100644 --- a/Lib/scilab/sciruntime.swg +++ b/Lib/scilab/sciruntime.swg @@ -40,7 +40,7 @@ SWIG_Scilab_TypeQuery(const char *name) { #ifdef __cplusplus extern "C" #endif -int SWIG_<module>_Init(SWIG_GatewayParameters) { +SWIGEXPORT int SWIG_<module>_Init(SWIG_GatewayParameters) { SWIG_InitializeModule(NULL); SWIG_CreateScilabVariables(pvApiCtx); swig_module_initialized = 1; |