Re: Virtual functions and chaining up

2006-07-27 Thread Yeti
On Thu, Jul 27, 2006 at 09:39:08AM +0200, David Nečas (Yeti) wrote: > > Each class has its own class struct which contains all > ancestors's class structs To clarify: The object system keeps an instance of both MamanBarClass and MamanBarSubClass. So the class structs contains all ancestors' clas

Re: Virtual functions and chaining up

2006-07-27 Thread Yeti
On Thu, Jul 27, 2006 at 02:24:23AM -0400, Nikhil Dinesh wrote: > I'm trying to create my own object hierarchy, and I don't > understand the part in the API reference about virtual > functions and chaining up. To create a virtual public > method, the docs say we nee

Virtual functions and chaining up

2006-07-26 Thread Nikhil Dinesh
Hi, I'm trying to create my own object hierarchy, and I don't understand the part in the API reference about virtual functions and chaining up. To create a virtual public method, the docs say we need to do something like: /* declaration in maman-bar.h. */ struct _MamanBarClass { GO