diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2013-02-24 13:41:53 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2013-02-24 13:41:53 +0100 |
commit | 0912e6e88c717de51187d974769d7f440c7b34fe (patch) | |
tree | 4b14572bac7042ed8f03cfe0607b0f4518882951 /Cython/Compiler/ModuleNode.py | |
parent | 9a567494c6d697b9fa4d491576f8f69571371349 (diff) | |
download | cython-0912e6e88c717de51187d974769d7f440c7b34fe.tar.gz |
inline freelist call to PyObject_Init()
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r-- | Cython/Compiler/ModuleNode.py | 2 |
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 {") |