Commit 9acae5a0 authored by Neil Schemenauer's avatar Neil Schemenauer

Remove PyMalloc_New and PyMalloc_Del.

parent 99b5d284
...@@ -60,7 +60,7 @@ PyObject * ...@@ -60,7 +60,7 @@ PyObject *
PyRange_New(long start, long len, long step, int reps) PyRange_New(long start, long len, long step, int reps)
{ {
long totlen = -1; long totlen = -1;
rangeobject *obj = PyMalloc_New(rangeobject, &PyRange_Type); rangeobject *obj = PyObject_New(rangeobject, &PyRange_Type);
if (obj == NULL) if (obj == NULL)
return NULL; return NULL;
...@@ -104,7 +104,7 @@ PyRange_New(long start, long len, long step, int reps) ...@@ -104,7 +104,7 @@ PyRange_New(long start, long len, long step, int reps)
static void static void
range_dealloc(rangeobject *r) range_dealloc(rangeobject *r)
{ {
PyMalloc_Del(r); PyObject_Del(r);
} }
static PyObject * static PyObject *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment