Your company here — click to reach over 10,000 unique daily visitors

END_OF_MAIN - Man Page

Macro to put after your main() function. Allegro game programming library.


#include <allegro.h>



In order to maintain cross-platform compatibility, you have to put this macro at the very end of your main function. This macro uses some `magic' to mangle your main procedure on platforms that need it like Windows, some flavours of UNIX or MacOS X. On the other platforms this macro  compiles to nothing, so you don't have to #ifdef around it. Example:

   int main(void)
      /* more stuff goes here */
      return 0;

See Also

Referenced By

ex12bit(3), ex3buf(3), ex3d(3), exaccel(3), exalpha(3), exbitmap(3), exblend(3), excamera(3), excolmap(3), exconfig(3), excustom(3), exdata(3), exdbuf(3), exexedat(3), exfixed(3), exflame(3), exflip(3), exfont(3), exgui(3), exhello(3), exjoy(3), exkeys(3), exlights(3), exmem(3), exmidi(3), exmouse(3), expackf(3), expal(3), expat(3), exquat(3), exrgbhsv(3), exrotscl(3), exsample(3), exscale(3), exscn3d(3), exscroll(3), exshade(3), exspline(3), exsprite(3), exstars(3), exstream(3), exswitch(3), exsyscur(3), extimer(3), extrans(3), extrans2(3), extruec(3), exunicod(3), exupdate(3), exxfade(3), exzbuf(3).

version 4.4.3 Allegro manual