| [ Web Proxy ] |
| Viewing: https://docs.python.org/2.3/api/allocating-objects.html | [Back] [Original] |
| PyObject* _PyObject_New( | PyTypeObject *type) |
| PyVarObject* _PyObject_NewVar( | PyTypeObject *type, int size) |
| void _PyObject_Del( | PyObject *op) |
| PyObject* PyObject_Init( | PyObject *op, PyTypeObject *type) |
| 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) |
| PyObject* Py_InitModule( | char *name, PyMethodDef *methods) |
Changed in version 2.3: Older versions of Python did not support NULL as the value for the methods argument.
| PyObject* Py_InitModule3( | char *name, PyMethodDef *methods, char *doc) |
Changed in version 2.3: Older versions of Python did not support NULL as the value for the methods argument.
| PyObject* Py_InitModule4( | char *name, PyMethodDef *methods, char *doc, PyObject *self, int apiver) |
Note: Most uses of this function should probably be using the Py_InitModule3() instead; only use this if you are sure you need it.
Changed in version 2.3: Older versions of Python did not support NULL as the value for the methods argument.
DL_IMPORT
None. This should only
be accessed using the Py_None macro, which evaluates to a
pointer to this object.
See About this document... for information on suggesting changes.
| Web Proxy Viewer | New URL | Original Page |