From: david@evans-2.local Date: Fri, 15 Aug 2008 13:53:20 +0000 (-0500) Subject: Fix missing opening parenthesis. X-Git-Tag: 0.9.8.1~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ba2630d17132666f49063b8ddb719fe944b071bb;p=cython.git Fix missing opening parenthesis. --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 093aef8e..23cb1145 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -422,7 +422,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): code.putln("#if PY_VERSION_HEX < 0x02060000") code.putln(" #define Py_REFCNT(ob) (((PyObject*)(ob))->ob_refcnt)") code.putln(" #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)") - code.putln(" #define Py_SIZE(ob) ((PyVarObject*)(ob))->ob_size)") + code.putln(" #define Py_SIZE(ob) (((PyVarObject*)(ob))->ob_size)") code.putln(" #define PyVarObject_HEAD_INIT(type, size) \\") code.putln(" PyObject_HEAD_INIT(type) size,") code.putln(" #define PyType_Modified(t)")