Back to index

python3.2  3.2.2
Defines | Functions | Variables
boolobject.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define PyBool_Check(x)   (Py_TYPE(x) == &PyBool_Type)
#define Py_False   ((PyObject *) &_Py_FalseStruct)
#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


 PyAPI_DATA (PyTypeObject) PyBool_Type
 PyAPI_DATA (struct _longobject) _Py_FalseStruct
 PyAPI_FUNC (PyObject *) PyBool_FromLong(long)



Define Documentation

#define Py_False   ((PyObject *) &_Py_FalseStruct)

Definition at line 21 of file boolobject.h.

#define Py_RETURN_FALSE   return Py_INCREF(Py_False), Py_False

Definition at line 26 of file boolobject.h.

#define Py_RETURN_TRUE   return Py_INCREF(Py_True), Py_True

Definition at line 25 of file boolobject.h.

#define Py_True   ((PyObject *) &_Py_TrueStruct)

Definition at line 22 of file boolobject.h.

#define PyBool_Check (   x)    (Py_TYPE(x) == &PyBool_Type)

Definition at line 12 of file boolobject.h.

Function Documentation

PyAPI_DATA ( struct _longobject  )
PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);

Variable Documentation

Definition at line 18 of file boolobject.h.