From ca02e83b56fa759fe597e6aedb48d282ce951e7b Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Sat, 14 Aug 2010 16:49:38 -0300 Subject: [PATCH] PyObject_GC_[Un]TRACK -> PyObject_GC_[Un]Track --- Cython/Compiler/ExprNodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.26.2