RE: [AD] official beta (Re namespace again)

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


Title: RE: [AD] official beta (Re namespace again)

> > volatile char *key = al_key;
>
>
> You should make that static, in case the user uses Allegro
> from more than
> one file.

Yup, you're right, though only if the user would define its own
(or another lib (s)he uses). This declaration would be in a .c
file in the allegro lib itself, not in a header.

--
Vincent Penquerc'h



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