summaryrefslogtreecommitdiff
path: root/Lib/scilab
diff options
context:
space:
mode:
authorSimon Marchetto <simon.marchetto@scilab-enterprises.com>2018-02-01 14:31:52 +0100
committerSimon Marchetto <simon.marchetto@scilab-enterprises.com>2018-02-01 14:31:52 +0100
commit164713536918485f31a888242a7a0df411d03ec9 (patch)
treee7f9cfadd7108fb38a85fe88226fbe77d041fa4b /Lib/scilab
parent7a9ee39412bbb10d79d9cafb5f61a4fb5c00840e (diff)
downloadswig-164713536918485f31a888242a7a0df411d03ec9.tar.gz
[scilab] fix compilation (checked with the additional compiler options)
Diffstat (limited to 'Lib/scilab')
-rw-r--r--Lib/scilab/scirun.swg3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/scilab/scirun.swg b/Lib/scilab/scirun.swg
index 3b2a96520..961ac1c21 100644
--- a/Lib/scilab/scirun.swg
+++ b/Lib/scilab/scirun.swg
@@ -491,6 +491,9 @@ int SWIG_ptr(SWIG_GatewayParameters) {
return SWIG_Scilab_SetOutput(pvApiCtx,
SwigScilabPtrFromObject(pvApiCtx, 1, ptrValue, SWIG_Scilab_TypeQuery(pstInputPtrTypeName), 0, pstOutputMListTypeName));
}
+ else {
+ return SWIG_ERROR;
+ }
}
else if (iTypeVar1 == sci_matrix) {
double dValue = 0;