diff options
author | Simon Marchetto <simon.marchetto@scilab-enterprises.com> | 2014-03-17 12:28:43 +0100 |
---|---|---|
committer | Simon Marchetto <simon.marchetto@scilab-enterprises.com> | 2014-03-17 12:28:43 +0100 |
commit | 7f32e10b610d428d230a6a8655f0c918a8d11a93 (patch) | |
tree | 2b65166b8aa12edd681b8c4e886c02f1581c7ca9 /Examples/scilab | |
parent | 561d6fb4c7de3056429c4a72a91e9eac299355d1 (diff) | |
download | swig-7f32e10b610d428d230a6a8655f0c918a8d11a93.tar.gz |
scilab: fix example matrix2
Diffstat (limited to 'Examples/scilab')
-rwxr-xr-x | Examples/scilab/matrix2/matrixlib.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Examples/scilab/matrix2/matrixlib.i b/Examples/scilab/matrix2/matrixlib.i index 596d9eeb8..61d84418d 100755 --- a/Examples/scilab/matrix2/matrixlib.i +++ b/Examples/scilab/matrix2/matrixlib.i @@ -8,8 +8,8 @@ %apply (int *matrixIn, int matrixInRowCount, int matrixInColCount) { (int *inputMatrix, int nbRow, int nbCol) } %apply (int **matrixOut, int *matrixOutRowCount, int *matrixOutColCount) { (int **resultMatrix, int *nbRowRes, int *nbColRes) } -%apply (char **vectorIn, int vectorInSize) { (char **inputVector, int size) } -%apply (char ***vectorOut, int *vectorOutSize) { (char ***resultVector, int *sizeRes) } +%apply (char **matrixIn, int matrixInSize) { (char **inputVector, int size) } +%apply (char ***matrixOut, int *matrixOutSize) { (char ***resultVector, int *sizeRes) } %inline %{ extern double sumDoubleMatrix(double *inputMatrix, int nbRow, int nbCol); |