Add missing typecheck for boolean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
082e751178
commit
90390d80d7
1 changed files with 2 additions and 0 deletions
|
|
@ -335,6 +335,7 @@
|
|||
|
||||
%typecheck(SWIG_TYPECHECK_DOUBLE) double { SCILAB_TYPECHECK(isDoubleType) }
|
||||
%typecheck(SWIG_TYPECHECK_FLOAT) float { SCILAB_TYPECHECK(isDoubleType) }
|
||||
%typecheck(SWIG_TYPECHECK_BOOL) bool { SCILAB_TYPECHECK(isBooleanType) }
|
||||
%typecheck(SWIG_TYPECHECK_STRING) char * { SCILAB_TYPECHECK(isStringType) }
|
||||
|
||||
%typecheck(SWIG_TYPECHECK_POINTER) SWIGTYPE * { SCILAB_TYPECHECK(isPointerType) }
|
||||
|
|
@ -364,6 +365,7 @@
|
|||
|
||||
%typecheck(SWIG_TYPECHECK_DOUBLE_ARRAY) double [ANY] { SCILAB_TYPECHECK(isDoubleType) }
|
||||
%typecheck(SWIG_TYPECHECK_FLOAT_ARRAY) float [ANY] { SCILAB_TYPECHECK(isDoubleType) }
|
||||
%typecheck(SWIG_TYPECHECK_BOOL_ARRAY) bool { SCILAB_TYPECHECK(isBooleanType) }
|
||||
%typecheck(SWIG_TYPECHECK_STRING_ARRAY) char ** { SCILAB_TYPECHECK(isStringType) }
|
||||
|
||||
%apply int { size_t };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue