Manual Reference Pages - END_OF_MAIN (3)
END_OF_MAIN - Macro to put after your main() function. Allegro game programming library.
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 dont have to #ifdef around it. Example:
/* more stuff goes here */
|Allegro ||END_OF_MAIN (3) ||version 4.4.2 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.