Fixed bool handling bug in Python module reported by Michael Scharf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0d716c43c2
commit
d97eab2c7f
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ PYTHON::function(DOH *node) {
|
||||||
Wrapper_add_localv(f,tempb,"int",tempb,0);
|
Wrapper_add_localv(f,tempb,"int",tempb,0);
|
||||||
else
|
else
|
||||||
Wrapper_add_localv(f,tempb,"int",tempb, "=",tempval,0);
|
Wrapper_add_localv(f,tempb,"int",tempb, "=",tempval,0);
|
||||||
Printv(get_pointers, tab4, target, " = (", SwigType_lstr(pt,0), ") ", tempb, ";\n", 0);
|
Printv(get_pointers, tab4, target, " = ( ", tempb, " != 0);\n", 0);
|
||||||
Printf(arglist,"&%s",tempb);
|
Printf(arglist,"&%s",tempb);
|
||||||
noarg = 1;
|
noarg = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue