projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
133f811
)
reverted last type casting change
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 13 Jun 2008 18:50:39 +0000
(20:50 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 13 Jun 2008 18:50:39 +0000
(20:50 +0200)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 25be7e375dc27a82cced53a857d6001bb337783b..3802641137d502931bf0795d11104cf9308a8e8d 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-1914,7
+1914,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
for meth_entry in type.scope.cfunc_entries:
if meth_entry.func_cname:
code.putln(
- "
%s.%s = (void*
)%s;" % (
+ "
*(void(**)(void))&%s.%s = (void(*)(void)
)%s;" % (
type.vtable_cname,
meth_entry.cname,
meth_entry.func_cname))