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:
William S Fulton 2003-02-10 22:41:07 +00:00
commit 8bdec0c0a9

View file

@ -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;
}