Macros | |
| #define | PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) |
| #define | Py_False ((PyObject *) &_Py_ZeroStruct) |
| #define | Py_True ((PyObject *) &_Py_TrueStruct) |
| #define | Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True |
| #define | Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False |
Typedefs | |
| typedef PyIntObject | PyBoolObject |
Functions | |
| PyAPI_DATA (PyTypeObject) PyBool_Type | |
| PyAPI_DATA (PyIntObject) _Py_ZeroStruct | |
| PyAPI_FUNC (PyObject *) PyBool_FromLong(long) | |
Variables | |
| _Py_TrueStruct | |
| #define Py_False ((PyObject *) &_Py_ZeroStruct) |
Definition at line 23 of file boolobject.h.
Definition at line 28 of file boolobject.h.
Definition at line 27 of file boolobject.h.
| #define Py_True ((PyObject *) &_Py_TrueStruct) |
Definition at line 24 of file boolobject.h.
Definition at line 14 of file boolobject.h.
| typedef PyIntObject PyBoolObject |
Definition at line 10 of file boolobject.h.
| PyAPI_DATA | ( | PyTypeObject | ) |
| PyAPI_DATA | ( | PyIntObject | ) |
| PyAPI_FUNC | ( | PyObject * | ) |
| _Py_TrueStruct |
Definition at line 20 of file boolobject.h.