10. Defining New Object Types

PyObject* _PyObject_New (PyTypeObject *type)
Return value: New reference.

PyVarObject* _PyObject_NewVar (PyTypeObject *type, int size)

void _PyObject_Del (PyObject *op)

PyObject* PyObject_Init (PyObject *op, PyTypeObject *type)
Return value: Borrowed reference.

PyVarObject* PyObject_InitVar (PyVarObject *op, PyTypeObject *type, int size)

TYPE* PyObject_New (TYPE, PyTypeObject *type)

TYPE* PyObject_NewVar (TYPE, PyTypeObject *type, int size)

void PyObject_Del (PyObject *op)

TYPE* PyObject_NEW (TYPE, PyTypeObject *type)

TYPE* PyObject_NEW_VAR (TYPE, PyTypeObject *type, int size)

void PyObject_DEL (PyObject *op)

Py_InitModule (!!!)

PyArg_ParseTupleAndKeywords, PyArg_ParseTuple, PyArg_Parse

Py_BuildValue

DL_IMPORT

Py*_Check

_Py_NoneStruct


Subsections

See About this document... for information on suggesting changes.