/* Cell object interface */ | |
extern "C" { | |
typedef struct { | |
PyObject_HEAD | |
PyObject *ob_ref; /* Content of the cell or NULL when empty */ | |
} PyCellObject; | |
PyAPI_DATA(PyTypeObject) PyCell_Type; | |
PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); | |
PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); | |
PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); | |
} | |