Re: [AD] Proposal for first step towards new api

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


On December 18, 2001 02:59 pm, you wrote:
> Grzegorz Adam Hankiewicz wrote:
> >  http://alleg.sourceforge.net/future/allegro_new_api_draft_one.txt
>
> Here are some of my thoughts:
>
> A good start, though I agree with Vincent about internals and with Eric
> about `init()', `exit()' and platform specific identifiers. I also
> disagree with Henrik about using `alvar_' for variables and `aldef_' for
> macros (it doesn't add any useful information anyway; see also the ahack
> document about hp_q_r2mzw_hungarian notation :-) Also, good idea to
> prefix `line()', `arc()' & co with `draw_'.
>
> Why do you want to remove `allegro_init()'? I think it's quite
> convenient, as it's a bit confusing to have to type atexit, errno and
> system_id manually (atexit and errno are kind of weird, and system_id is
> always the same except in very unusual cases AFAIK). Though it needs a
> new name; maybe `allegro_init()' --> `al_init()' and
> `install_allegro()' --> `al_init_ex()'?

allegro_init() is just a macro defined to 'install_allegro(SYSTEM_AUTODETECT, 
&errno, &atexit)'

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net



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