Stefan Behnel wrote: > > Ok, then the patch is actually correct in that it also drills down to the > ancestor type that defines the vtable and casts the pointer to that type.
Yes. The vtable pointer itself needs to be cast, because the vtable of the derived type may have extra C methods added to it, so it's not the same type as the vtable of the ancestor type. -- Greg _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
