[SDL] sdlmain

Roman Kyrylych roman.kyrylych at gmail.com
Tue Jul 4 08:57:19 PDT 2006


I suggest to see how this is done in Allegro:
      int main(void)
      {
         allegro_init();
         /* more stuff goes here */
         ...
         return 0;
      }
      END_OF_MAIN()

END_OF_MAIN is a special macro which is different for different
platforms. See Allegro's headers for more info.




More information about the SDL mailing list