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

Go to the source code of this file.

Classes

struct  PyClassObject
 
struct  PyInstanceObject
 
struct  PyMethodObject
 

Macros

#define PyClass_Check(op)   ((op)->ob_type == &PyClass_Type)
 
#define PyInstance_Check(op)   ((op)->ob_type == &PyInstance_Type)
 
#define PyMethod_Check(op)   ((op)->ob_type == &PyMethod_Type)
 
#define PyMethod_GET_FUNCTION(meth)   (((PyMethodObject *)meth) -> im_func)
 
#define PyMethod_GET_SELF(meth)   (((PyMethodObject *)meth) -> im_self)
 
#define PyMethod_GET_CLASS(meth)   (((PyMethodObject *)meth) -> im_class)
 

Functions

 PyAPI_DATA (PyTypeObject) PyClass_Type
 
 PyAPI_FUNC (PyObject *) PyClass_New(PyObject *
 
 PyAPI_FUNC (int) PyClass_IsSubclass(PyObject *
 

Variables

 PyInstance_Type
 
 PyMethod_Type
 
PyObjectname
 

Macro Definition Documentation

#define PyClass_Check (   op)    ((op)->ob_type == &PyClass_Type)
#define PyInstance_Check (   op)    ((op)->ob_type == &PyInstance_Type)
#define PyMethod_Check (   op)    ((op)->ob_type == &PyMethod_Type)
#define PyMethod_GET_CLASS (   meth)    (((PyMethodObject *)meth) -> im_class)
#define PyMethod_GET_FUNCTION (   meth)    (((PyMethodObject *)meth) -> im_func)
#define PyMethod_GET_SELF (   meth)    (((PyMethodObject *)meth) -> im_self)

Function Documentation

PyAPI_DATA ( PyTypeObject  )
PyAPI_FUNC ( PyObject )
read
PyAPI_FUNC ( int  )
read

Variable Documentation

PyObject* name
PyInstance_Type
PyMethod_Type

Copyright 2014 Google Inc. All rights reserved.