diff options
author | Simon Marchetto <simon.marchetto@scilab-enterprises.com> | 2014-09-29 14:56:28 +0200 |
---|---|---|
committer | Simon Marchetto <simon.marchetto@scilab-enterprises.com> | 2014-09-29 14:56:28 +0200 |
commit | 3997b03f4c33813026e8ad824bd0bc099adbacbe (patch) | |
tree | fe3394e3c803e140103f3fcad2b9c2c1cca4403d /Lib/scilab/scisignedchar.swg | |
parent | db7cf4628293400f4cbd59bb815b18af0e78f4b3 (diff) | |
download | swig-3997b03f4c33813026e8ad824bd0bc099adbacbe.tar.gz |
scilab: fix int typemaps (functions and fragment names)
Diffstat (limited to 'Lib/scilab/scisignedchar.swg')
-rw-r--r-- | Lib/scilab/scisignedchar.swg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/scilab/scisignedchar.swg b/Lib/scilab/scisignedchar.swg index 4f3cd857a..c2350b0c1 100644 --- a/Lib/scilab/scisignedchar.swg +++ b/Lib/scilab/scisignedchar.swg @@ -1,13 +1,13 @@ /* * C-type: signed char - * Scilab type: int8 + * Scilab type: double or int8 */ -%fragment(SWIG_AsVal_frag(signed char), "header", fragment="SWIG_SciDoubleOrInt8_AsShort", fragment="<limits.h>") { -#define SWIG_AsVal_signed_SS_char(scilabValue, valuePointer) SWIG_SciDoubleOrInt8_AsShort(pvApiCtx, scilabValue, valuePointer, SWIG_Scilab_GetFuncName()) +%fragment(SWIG_AsVal_frag(signed char), "header", fragment="SWIG_SciDoubleOrInt8_AsSignedChar", fragment="<limits.h>") { +#define SWIG_AsVal_signed_SS_char(scilabValue, valuePointer) SWIG_SciDoubleOrInt8_AsSignedChar(pvApiCtx, scilabValue, valuePointer, SWIG_Scilab_GetFuncName()) } -%fragment("SWIG_SciDoubleOrInt8_AsShort", "header") { +%fragment("SWIG_SciDoubleOrInt8_AsSignedChar", "header") { SWIGINTERN int -SWIG_SciDoubleOrInt8_AsShort(void *pvApiCtx, int iVar, signed char *pscValue, char *fname) { +SWIG_SciDoubleOrInt8_AsSignedChar(void *pvApiCtx, int iVar, signed char *pscValue, char *fname) { SciErr sciErr; int iType = 0; int iRows = 0; |