Re: [AD] using internals from addons

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On November 28, 2008, Peter Wang wrote:
> How do we feel about using Allegro internals in addons?  I think
> kcm_audio objects should be automatically destroyed when
> al_uninstall_audio() is called.  This implies reusing the code in
> src/dtor.c, although we could make a copy.  We do use vector.c in
> kcm_audio already.
>
> Do we want al_uninstall_audio to be called when Allegro shuts down?
> This implies calling _al_add_exit_func, _al_remove_exit_func which are
> internal.

Wait, at this point it is no longer a simple addon. Might as well move it in 
core.

> Peter
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/