From: Lisandro Dalcin Date: Sat, 14 Aug 2010 19:49:38 +0000 (-0300) Subject: PyObject_GC_[Un]TRACK -> PyObject_GC_[Un]Track X-Git-Tag: 0.13~20^2~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ca02e83b56fa759fe597e6aedb48d282ce951e7b;p=cython.git PyObject_GC_[Un]TRACK -> PyObject_GC_[Un]Track --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index d03dbb2f..87f04ee4 100755 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -7499,12 +7499,12 @@ PyObject *%(binding_cfunc)s_NewEx(PyMethodDef *ml, PyObject *self, PyObject *mod op->func.m_self = self; Py_XINCREF(module); op->func.m_module = module; - _PyObject_GC_TRACK(op); + PyObject_GC_Track(op); return (PyObject *)op; } static void %(binding_cfunc)s_dealloc(%(binding_cfunc)s_object *m) { - _PyObject_GC_UNTRACK(m); + PyObject_GC_UnTrack(m); Py_XDECREF(m->func.m_self); Py_XDECREF(m->func.m_module); PyObject_GC_Del(m);