Re: [AD] Allegro main function in separate library |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Mon, 2010-01-25 at 21:37 -0800, Chris Robinson wrote:
> I have to wonder why Allegro's still even using main mangling. To me, the idea
> of getting rid of END_OF_MAIN() was to get rid of the hacks that the lib used
> to get things running properly at startup, which was in turn caused by the
> DOS-centric design of 3.x that didn't carry well into the Windows/Linux/Mac
> ports, along with the bid to retain API compatibility, for 4.x.
>
The reasons in A5 are very different. Basically, OSX is today's DOS. And
so in order to *not* be forced into the OSX-centric few of things we
have to hijack main() which allows A5 events to work the same way on all
paltforms.
--
Elias Pschernig <elias.pschernig@xxxxxxxxxx>