On Sat, 2004-04-10 at 01:49, Leopold Toetsch wrote:

> >> This initializer is available as first param in the init method.
> > I'm happy with this.
> Good.

What needs to be done before making it the default?  I'm anxious to
remove CALL__BUILD=1 from my parrot alias.

> We don't have it yet. We could use vtable->destroy but I'd rather have
> vtable->finalize. ->destroy does low-level cleanup of Parrot classes
> (i.e. free(3) memory. ->finalize (a distinct vtable method) could do the
> higher-level object finalization. Here could be also the place, where
> "destruction" ordering is done.

That sounds reasonable.  It'd certainly be nice to be able to free the
memory of external resources I hold in SDL::* objects.

-- c

Reply via email to