add a comment to not forget these bugs

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Sylvestre Ledru 2010-11-22 16:06:16 +00:00
commit d5e7f909fd

View file

@ -2544,7 +2544,7 @@
return 0; return 0;
} }
getVarType(pvApiCtx, piAddrVar, &typearg); getVarType(pvApiCtx, piAddrVar, &typearg);
$1 = (typearg == sci_matrix) ? 1 : 0; $1 = (typearg == sci_matrix) ? 1 : 0; /* TODO: fix this bug. should be int */
} }
%typecheck(SWIG_TYPECHECK_UINT8) unsigned char { %typecheck(SWIG_TYPECHECK_UINT8) unsigned char {
@ -2556,7 +2556,7 @@
return 0; return 0;
} }
getVarType(pvApiCtx, piAddrVar, &typearg); getVarType(pvApiCtx, piAddrVar, &typearg);
$1 = (typearg == sci_matrix) ? 1 : 0; $1 = (typearg == sci_matrix) ? 1 : 0; /* TODO: fix this bug. should be int */
} }
%typecheck(SWIG_TYPECHECK_INT16) short { %typecheck(SWIG_TYPECHECK_INT16) short {
@ -2564,7 +2564,7 @@
int typearg; int typearg;
sciErr = getVarAddressFromPosition(pvApiCtx, $input, &piAddrVar); sciErr = getVarAddressFromPosition(pvApiCtx, $input, &piAddrVar);
getVarType(pvApiCtx, piAddrVar, &typearg); getVarType(pvApiCtx, piAddrVar, &typearg);
$1 = (typearg == sci_matrix) ? 1 : 0; $1 = (typearg == sci_matrix) ? 1 : 0; /* TODO: fix this bug. should be int */
} }
%typecheck(SWIG_TYPECHECK_UINT16) unsigned short { %typecheck(SWIG_TYPECHECK_UINT16) unsigned short {
@ -2576,7 +2576,7 @@
return 0; return 0;
} }
getVarType(pvApiCtx, piAddrVar, &typearg); getVarType(pvApiCtx, piAddrVar, &typearg);
$1 = (typearg == sci_matrix) ? 1 : 0; $1 = (typearg == sci_matrix) ? 1 : 0; /* TODO: fix this bug. should be int */
} }
%typecheck(SWIG_TYPECHECK_INT32) int, %typecheck(SWIG_TYPECHECK_INT32) int,
@ -2589,7 +2589,7 @@
return 0; return 0;
} }
getVarType(pvApiCtx, piAddrVar, &typearg); getVarType(pvApiCtx, piAddrVar, &typearg);
$1 = (typearg == sci_matrix) ? 1 : 0; $1 = (typearg == sci_matrix) ? 1 : 0; /* TODO: fix this bug. should be int */
} }
%typecheck(SWIG_TYPECHECK_UINT32) unsigned int, %typecheck(SWIG_TYPECHECK_UINT32) unsigned int,
@ -2602,9 +2602,10 @@
return 0; return 0;
} }
getVarType(pvApiCtx, piAddrVar, &typearg); getVarType(pvApiCtx, piAddrVar, &typearg);
$1 = (typearg == sci_matrix) ? 1 : 0; $1 = (typearg == sci_matrix) ? 1 : 0; /* TODO: fix this bug. should be int */
} }
/* TODO: add int64 & uint64 for Scilab 6 */
%typecheck(SWIG_TYPECHECK_DOUBLE) double { %typecheck(SWIG_TYPECHECK_DOUBLE) double {
int *piAddrVar; int *piAddrVar;