diff options
author | Clément DAVID <clement.david@3ds.com> | 2023-04-19 09:32:02 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2023-04-19 09:32:41 +1200 |
commit | e1d59d0016f65cc4b15f0f1840b3beef5555267a (patch) | |
tree | 967f6cbe4855ad00f232d587bfa19840254c57a3 /Lib/scilab/sciint.swg | |
parent | 5c165f5cc86a0906570f430ffe150ded072f78c9 (diff) | |
download | swig-e1d59d0016f65cc4b15f0f1840b3beef5555267a.tar.gz |
[scilab] Extract values with ":"
Fixes #894
Diffstat (limited to 'Lib/scilab/sciint.swg')
-rw-r--r-- | Lib/scilab/sciint.swg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/scilab/sciint.swg b/Lib/scilab/sciint.swg index 2d6993569..b7b2563e8 100644 --- a/Lib/scilab/sciint.swg +++ b/Lib/scilab/sciint.swg @@ -157,6 +157,11 @@ SWIG_SciDoubleOrInt32_AsIntArrayAndSize(void *pvApiCtx, int iVar, int *iRows, in return SWIG_ERROR; } } + else if (iType == sci_implicit_poly) { + *iRows = -1; + *iCols = 0; + *piValue = NULL; + } else { Scierror(SCILAB_API_ARGUMENT_ERROR, _("%s: Wrong type for input argument #%d: A 32-bit signed integer or a double matrix expected.\n"), fname, iVar); return SWIG_ERROR; |