Re: [AD] Proposal for first step towards new api

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


>I'm afraid it's a bit harder than that. END_OF_MAIN() does two things. it
>renames the users main function to mangled_main and then it defines it's own
>OS specific entry point which in turn calls mangled_main. I will see what I
>can do about rewriting the existing hack to use al_main() and eliminate the
>need for END_OF_MAIN().

If it does turn out to be necessary to keep mangled_main, can I suggest that
it becomes users_main or main_routine_in_user_code or somesuch that makes it
clearer what it is?

Neil



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