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:
Robin Dunn 2004-02-04 23:36:07 +00:00
parent e0dd12db99
commit e07fb96db5

View File

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