bool mods for Visual C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
be2645fa50
commit
8bdec0c0a9
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ or you can use the %apply directive :
|
|||
if (Tcl_GetIntFromObj(interp,$input,&ivalue) == TCL_ERROR) {
|
||||
SWIG_fail;
|
||||
}
|
||||
temp = (bool) ivalue;
|
||||
temp = ivalue ? true : false;
|
||||
$1 = &temp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue