Refer to Extending and Embedding the Python Interpreter, section 1.12, ``Providing a C API for an Extension Module,'' for more information on using these objects.
PyObject *p) |
void* cobj, void (*destr)(void *)) |
void *
cobj. The
destr function will be called when the object is reclaimed,
unless it is NULL.
void* cobj, void* desc, void (*destr)(void *, void *)) |
PyObject* self) |
PyObject* self) |
See About this document... for information on suggesting changes.