PyObject_GC_Del can now be used as a function designator.

This commit is contained in:
Neil Schemenauer 2002-04-12 02:44:22 +00:00
parent aa769ae468
commit 99b5d28467
3 changed files with 3 additions and 3 deletions

View file

@ -1127,5 +1127,5 @@ PyTypeObject PyProperty_Type = {
property_init, /* tp_init */ property_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */ PyType_GenericAlloc, /* tp_alloc */
PyType_GenericNew, /* tp_new */ PyType_GenericNew, /* tp_new */
_PyObject_GC_Del, /* tp_free */ PyObject_GC_Del, /* tp_free */
}; };

View file

@ -1714,7 +1714,7 @@ PyTypeObject PyList_Type = {
(initproc)list_init, /* tp_init */ (initproc)list_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */ PyType_GenericAlloc, /* tp_alloc */
PyType_GenericNew, /* tp_new */ PyType_GenericNew, /* tp_new */
_PyObject_GC_Del, /* tp_free */ PyObject_GC_Del, /* tp_free */
}; };

View file

@ -237,5 +237,5 @@ PyTypeObject PyModule_Type = {
(initproc)module_init, /* tp_init */ (initproc)module_init, /* tp_init */
PyType_GenericAlloc, /* tp_alloc */ PyType_GenericAlloc, /* tp_alloc */
PyType_GenericNew, /* tp_new */ PyType_GenericNew, /* tp_new */
_PyObject_GC_Del, /* tp_free */ PyObject_GC_Del, /* tp_free */
}; };