Commit bf9cb3ff authored by Tim Peters's avatar Tim Peters

Use function instead of macro spellings for PyObject_memorystuff.

parent c9ca5c82
......@@ -26,7 +26,7 @@ static xxobject *
newxxobject(PyObject *arg)
{
xxobject *xp;
xp = PyObject_NEW(xxobject, &Xxtype);
xp = PyObject_New(xxobject, &Xxtype);
if (xp == NULL)
return NULL;
xp->x_attr = NULL;
......@@ -39,7 +39,7 @@ static void
xx_dealloc(xxobject *xp)
{
Py_XDECREF(xp->x_attr);
PyObject_DEL(xp);
PyObject_Del(xp);
}
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