Re: [AD] No need for END_OF_MAIN (Windows) |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2005-05-15, Michal Molhanec <michal@xxxxxxxxxx> wrote:
> Peter Wang wrote:
> >I mean that liballeg.so should not be referencing missing symbols
> >that have to be supplied by the user. It's a pain to load
> >liballeg.so dynamically if you have to provide a _mangled_main
> >to be resolved.
> > [...]
>
> Yes, this is what SDL does. I find it rather ugly and beginners
> unfriendly :-)
See, the current END_OF_MAIN or whatever macro we come up with
in the future can still be there for beginners. But take into
consideration power users too. Let it be optional with a big WARNING
in the documentation about portability.