projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c2292
)
fix preprocessor macro usage in generator code
author
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 13 Feb 2013 07:16:08 +0000
(08:16 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 13 Feb 2013 07:16:08 +0000
(08:16 +0100)
Cython/Utility/Generator.c
patch
|
blob
|
history
diff --git
a/Cython/Utility/Generator.c
b/Cython/Utility/Generator.c
index
2a66e98
..
f7f258a
100644
(file)
--- a/
Cython/Utility/Generator.c
+++ b/
Cython/Utility/Generator.c
@@
-513,7
+513,7
@@
static void __Pyx_Generator_del(PyObject *self) {
_Py_NewReference(self);
self->ob_refcnt = refcnt;
}
-#if CYTHON_COMPILING_
FOR
_CPYTHON
+#if CYTHON_COMPILING_
IN
_CPYTHON
assert(PyType_IS_GC(self->ob_type) &&
_Py_AS_GC(self)->gc.gc_refs != _PyGC_REFS_UNTRACKED);