Remove PyMalloc_New and PyMalloc_Del.

This commit is contained in:
Neil Schemenauer 2002-04-12 02:44:55 +00:00
parent 99b5d28467
commit 9acae5a0a6

View File

@ -60,7 +60,7 @@ PyObject *
PyRange_New(long start, long len, long step, int reps)
{
long totlen = -1;
rangeobject *obj = PyMalloc_New(rangeobject, &PyRange_Type);
rangeobject *obj = PyObject_New(rangeobject, &PyRange_Type);
if (obj == NULL)
return NULL;
@ -104,7 +104,7 @@ PyRange_New(long start, long len, long step, int reps)
static void
range_dealloc(rangeobject *r)
{
PyMalloc_Del(r);
PyObject_Del(r);
}
static PyObject *