Commit dfbb24da authored by Robert Bradshaw's avatar Robert Bradshaw

Fix C++ fix

parent c93ab4d4
......@@ -797,10 +797,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("}")
for entry in py_attrs:
name = "p->%s" % entry.cname
if entry.type.is_extension_type:
name = "((PyObject*)%s)" % name
code.putln("tmp = %s;" % name)
code.put_init_to_py_none(name, PyrexTypes.py_object_type)
code.putln("tmp = %s;" % code.as_pyobject(name, entry.type))
code.put_init_to_py_none(name, entry.type)
code.putln("Py_XDECREF(tmp);")
code.putln(
"return 0;")
......
version = '0.9.6.11'
version = '0.9.6.11b'
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