Missing typecheck for bool passed as value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dc309054dd
commit
a39aa898f0
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ REF_MAP(double, SCHEME_REALP, scheme_real_to_double,
|
|||
$1 = (SCHEME_INTP($input)) ? 1 : 0;
|
||||
}
|
||||
|
||||
%typecheck(SWIG_TYPECHECK_BOOL) bool &, const bool &
|
||||
%typecheck(SWIG_TYPECHECK_BOOL) bool, bool &, const bool &
|
||||
{
|
||||
$1 = (SCHEME_BOOLP($input)) ? 1 : 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue