Il 13/06/2012 14:59, Andreas Färber ha scritto:
> Ouch! One can argue that's still not recursive, but what matters more
> this borks Anthony's in-place object_initialize() concept.
> 
> Two solutions come to mind:
> * allocate the interfaces as part of object_new() beyond instance_size

That won't work if you initialize in place, because you cannot allocate
the room for the interface.  It is possible to put Interface objects
explicitly in the class, and pass an offset when registering the type so
that they can be initialized in place.

But I still think we're fighting windmills...

Paolo

Reply via email to