Filipe Brandenburger wrote: [...] > struct sv { > vtable_sv * ptr_to_vtable; > void * ptr_to_data; > void * gc_data; > }; [...] > I don't think I can get further from here. Note that, in all examples, > I didn't write the `this' pointer that every function would receive. > This would correspond to the `ptr_to_data' from the struct sv. I think the `this' pointer should be the SV* (== &ptr_to_vtable) so virtual functions can themselves call virtual functions on the same object. -Edwin
- Vtables: what do we know so far? Filipe Brandenburger
- Re: Vtables: what do we know so far? Matthew Cline
- Re: Vtables: what do we know so far? Branden
- Re: Vtables: what do we know so far? Dan Sugalski
- Re: Vtables: what do we know so far? Edwin Steiner
- Re: Vtables: what do we know so far? Dan Sugalski
- Re: Vtables: what do we know so far? Edwin Steiner
- Re: Vtables: what do we know so far? Nick Ing-Simmons