Cython disregards the c-name for "cdef public" class members

parent 0e3aecd8
...@@ -1207,7 +1207,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -1207,7 +1207,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln('{"%s", %s, %s, %s, 0},' % ( code.putln('{"%s", %s, %s, %s, 0},' % (
entry.name, entry.name,
type_code, type_code,
"offsetof(%s, %s)" % (objstruct, entry.name), "offsetof(%s, %s)" % (objstruct, entry.cname),
flags)) flags))
code.putln( code.putln(
"{0, 0, 0, 0, 0}") "{0, 0, 0, 0, 0}")
......
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