Re: [AD] Renamed API (final?)

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


> Nothing has changed much since the third draft, so here goes my last
> document on the subject:

It seems that the un-prefixed install_allegro() and allegro_init() create
some controversy, so I think Peter's al_install_system() is the best
proposal:

int al_install_system(int system_id, int *errno_ptr, int (*atexit_ptr)());

#define al_init() al_install_system(SYSTEM_AUTODETECT, &errno, ...atexit)

void al_remove_system(void);

#define al_exit() al_remove_system()

> I guess now it's time for the Allegro Dictator to create a new cvs module

Peter, are you ok to do it ?

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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