projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3aecd
)
Cython disregards the c-name for "cdef public" class members
author
bluecreature@gmail.com
<none@none>
Wed, 13 Feb 2008 04:36:57 +0000
(20:36 -0800)
committer
bluecreature@gmail.com
<none@none>
Wed, 13 Feb 2008 04:36:57 +0000
(20:36 -0800)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 5e529b592a105535f8df34f56eb44475f42b27a9..0c0469b64279188c2f803ac6130bfba568d92c29 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-1207,7
+1207,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln('{"%s", %s, %s, %s, 0},' % (
entry.name,
type_code,
- "offsetof(%s, %s)" % (objstruct, entry.name),
+ "offsetof(%s, %s)" % (objstruct, entry.
c
name),
flags))
code.putln(
"{0, 0, 0, 0, 0}")