END_OF_MAIN(3ALLEG4) - Linux manual page online | Library functions
Macro to put after your main() function. Allegro game programming library.
Chapter
version 4.4.2
END_OF_MAIN(3alleg4) Allegro manual END_OF_MAIN(3alleg4)
NAME
END_OF_MAIN - Macro to put after your main() function. Allegro game programming library.SYNOPSIS
#include <allegro.h> Macro END_OF_MAIN()DESCRIPTION
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 plat‐ forms this macro compiles to nothing, so you don't have to #ifdef around it. Example: int main(void) { allegro_init(); /* more stuff goes here */ ... return 0; } END_OF_MAIN()SEE ALSO
Allegro version 4.4.2 END_OF_MAIN(3alleg4)This manual | Reference | Other manuals |
---|---|---|
END_OF_MAIN(3alleg4) | referred by |
ex12bit(3alleg4) | ex3buf(3alleg4) | ex3d(3alleg4) | exaccel(3alleg4) | exalpha(3alleg4) | exbitmap(3alleg4) | exblend(3alleg4) | excamera(3alleg4) | excolmap(3alleg4) | exconfig(3alleg4) | excustom(3alleg4) | exdata(3alleg4) | exdbuf(3alleg4) | exexedat(3alleg4) | exfixed(3alleg4) | exflame(3alleg4) | exflip(3alleg4) | exfont(3alleg4) | exgui(3alleg4) | exhello(3alleg4) |
refer to |