[SDL] sdlmain

Ryan C. Gordon icculus at icculus.org
Tue Jul 4 10:11:54 PDT 2006


> 6) If hijacking 'main' is required (maybe BeOS), then do it. But in case 
> where it brings nothing special (in current svn SDL 1.3 it often just 
> does commandline arg parsing!), then remove it completely!

It's meant to give you a standard "main" function, as opposed to 
WinMain. If mingw provides this, then you shouldn't need SDL_main on 
that platform.

--ryan.





More information about the SDL mailing list