projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a61d29
)
type casting simplification that seems to remove strict aliasing warnings in GCC...
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 12 Jun 2008 20:27:50 +0000
(22:27 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 12 Jun 2008 20:27:50 +0000
(22:27 +0200)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 1bc6f3fe3bd956d6dac1ba6d06f71bd633c7a2e7..632a634d32b4e2221af84db5c89e5ceeac361d01 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-1913,7
+1913,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
for meth_entry in type.scope.cfunc_entries:
if meth_entry.func_cname:
code.putln(
- "
*(void(**)(void))&%s.%s = (void(*)(void)
)%s;" % (
+ "
%s.%s = (void*
)%s;" % (
type.vtable_cname,
meth_entry.cname,
meth_entry.func_cname))