Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Macros | Typedefs | Functions | Variables
boolobject.h File Reference

Go to the source code of this file.

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
 

Macro Definition Documentation

#define Py_False   ((PyObject *) &_Py_ZeroStruct)
#define Py_RETURN_FALSE   return Py_INCREF(Py_False), Py_False
#define Py_RETURN_TRUE   return Py_INCREF(Py_True), Py_True
#define Py_True   ((PyObject *) &_Py_TrueStruct)
#define PyBool_Check (   x)    (Py_TYPE(x) == &PyBool_Type)

Typedef Documentation

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_DATA ( PyIntObject  )
PyAPI_FUNC ( PyObject )
read

Variable Documentation

_Py_TrueStruct

Copyright 2014 Google Inc. All rights reserved.