summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2013-02-24 13:41:53 +0100
committerStefan Behnel <stefan_ml@behnel.de>2013-02-24 13:41:53 +0100
commit0912e6e88c717de51187d974769d7f440c7b34fe (patch)
tree4b14572bac7042ed8f03cfe0607b0f4518882951 /Cython/Compiler/ModuleNode.py
parent9a567494c6d697b9fa4d491576f8f69571371349 (diff)
downloadcython-0912e6e88c717de51187d974769d7f440c7b34fe.tar.gz
inline freelist call to PyObject_Init()
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index 42addcfc0..34f228129 100644
--- a/Cython/Compiler/ModuleNode.py
+++ b/Cython/Compiler/ModuleNode.py
@@ -1069,7 +1069,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
freecount_name, type.typeptr_cname))
code.putln("o = (PyObject*)%s[--%s];" % (
freelist_name, freecount_name))
- code.putln("PyObject_Init(o, t);")
+ code.putln("PyObject_INIT(o, t);")
if scope.needs_gc():
code.putln("PyObject_GC_Track(o);")
code.putln("} else {")