python-2.7.6/include/cellobject.h Source File
Go to the documentation of this file.
3 #ifndef Py_CELLOBJECT_H
4 #define Py_CELLOBJECT_H
16 #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type)
20 PyAPI_FUNC(
int) PyCell_Set(PyObject *, PyObject *);
22 #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref)
23 #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v)
PyAPI_FUNC(PyObject *) PyCell_New(PyObject *)
PyAPI_DATA(PyTypeObject) PyCell_Type
PyObject_HEAD PyObject * ob_ref