Re: [AD] Magic main in Windows

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


On Mon, Aug 02, 2004, Evert Glebbeek wrote:

> We can't change the prototype for allegro_init(), although it would be 
> possible to add a function to the API that explicitly passes argc and argv 
> to Allegro, as Peter suggested. If not called, the current (well, current 
> in my local tree anyway) scheme using procfs and ps as fallback is used. 
> If called, the argv[0] can be used in preference to ps.
> Although I feel this is starting to be a bit much for a function that is 
> likely little-used anyway. ;)

   I fully agree. I'd say drop it: applications know how they are called
anyway, don't they?

-- 
Sam.




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