Added bool typemap so Py_True and Py_False are returned instead of integers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e0dd12db99
commit
e07fb96db5
@ -241,6 +241,10 @@
|
||||
}
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
%typemap(out) bool "$result = $1 ? Py_True : Py_False; Py_INCREF($result);"
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Typemaps to convert return values that are base class pointers
|
||||
|
Loading…
Reference in New Issue
Block a user