projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d692f4d
)
PyObject_GC_[Un]TRACK -> PyObject_GC_[Un]Track
author
Lisandro Dalcin
<dalcinl@gmail.com>
Sat, 14 Aug 2010 19:49:38 +0000
(16:49 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Sat, 14 Aug 2010 19:49:38 +0000
(16:49 -0300)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index d03dbb2fc21866aa8ebd62b7b9f1d8e43708434d..87f04ee4828260daa81846ea817214c02db244d2 100755
(executable)
--- 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);