PyObject_GC_[Un]TRACK -> PyObject_GC_[Un]Track
authorLisandro Dalcin <dalcinl@gmail.com>
Sat, 14 Aug 2010 19:49:38 +0000 (16:49 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Sat, 14 Aug 2010 19:49:38 +0000 (16:49 -0300)
Cython/Compiler/ExprNodes.py

index d03dbb2fc21866aa8ebd62b7b9f1d8e43708434d..87f04ee4828260daa81846ea817214c02db244d2 100755 (executable)
@@ -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);