From: Stefan Behnel <scoder@users.berlios.de> Date: Fri, 13 Jun 2008 18:50:39 +0000 (+0200) Subject: reverted last type casting change X-Git-Tag: 0.9.8.1~136 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e567528137fed1251184fe4935028e2299617ea;p=cython.git reverted last type casting change --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 25be7e37..38026411 100644 --- 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))