diff options
author | Simon Marchetto <simon.marchetto@scilab-enterprises.com> | 2018-02-01 14:31:52 +0100 |
---|---|---|
committer | Simon Marchetto <simon.marchetto@scilab-enterprises.com> | 2018-02-01 14:31:52 +0100 |
commit | 164713536918485f31a888242a7a0df411d03ec9 (patch) | |
tree | e7f9cfadd7108fb38a85fe88226fbe77d041fa4b /Lib/scilab | |
parent | 7a9ee39412bbb10d79d9cafb5f61a4fb5c00840e (diff) | |
download | swig-164713536918485f31a888242a7a0df411d03ec9.tar.gz |
[scilab] fix compilation (checked with the additional compiler options)
Diffstat (limited to 'Lib/scilab')
-rw-r--r-- | Lib/scilab/scirun.swg | 3 |
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; |