summaryrefslogtreecommitdiff
path: root/Lib/scilab/sciruntime.swg
diff options
context:
space:
mode:
authorYungLee <yjlee123@gmail.com>2022-03-15 10:06:17 +0800
committerGitHub <noreply@github.com>2022-03-15 15:06:17 +1300
commit31f7b437f413a3e9c6c71c5c79ba7d3e6b6cc6f5 (patch)
tree1013ce846bb910b985a2c4db22400edb8a783112 /Lib/scilab/sciruntime.swg
parent9efcc785aeae98b8d46b9d5727e4e38311f6b9b1 (diff)
downloadswig-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.swg2
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;