Re: [AD] Magic main in Windows

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Monday 02 August 2004 11:39, Chris wrote:
> Yeah it does, because the define that expands al_main can create any 
> entry point function that does anything it needs. It can create WinMain 
> in Windows, and main everywhere else. As well, for OSX it could create a 
> main that starts a thread explicitly at al_main, leaving main to do the 
> special input thread stuff.

In that case, if we have a #define al_main main on platforms that don't 
require main maming, I'd prefer to just have a main() as we do now and 
modify that.

Evert





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/