Commit 0912e6e8 authored by Stefan Behnel's avatar Stefan Behnel

inline freelist call to PyObject_Init()

parent 9a567494
......@@ -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 {")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment