[AD] Some little things

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


While I was skimming through the header files, I found some strange things:
- ALLEGRO_WINDOW_CLOSE_MESSAGE is defined in allegro.h and not in
allegro/aintern.h
- several API calls are macros: allegro_init(), uconvert_ascii(),
uconvert_toascii(), ustrdup(), quad_interpolate(). I think it should be safe
to make them inline functions instead,
- conversely, there is a SEND_MESSAGE() inline function defined in
allegro/ainline.h, that seems not to be part of the API and is described as
a macro in the docs.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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