Remove PyMalloc_New and PyMalloc_Del.

This commit is contained in:
Neil Schemenauer 2002-04-12 03:05:37 +00:00
parent 510492e985
commit 7465ad2fc9
2 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ PyStructSequence_New(PyTypeObject *type)
{
PyStructSequence *obj;
obj = PyMalloc_New(PyStructSequence, type);
obj = PyObject_New(PyStructSequence, type);
obj->ob_size = VISIBLE_SIZE_TP(type);
return (PyObject*) obj;
@ -37,7 +37,7 @@ structseq_dealloc(PyStructSequence *obj)
for (i = 0; i < size; ++i) {
Py_XDECREF(obj->ob_item[i]);
}
PyMalloc_Del(obj);
PyObject_Del(obj);
}
static int