Re: [AD] possible main magic change? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> Sigh... or maybe not.
Take your time. As far as I know, Elias and Angelo are on vacation and I'll
be leaving tomorrow until the 17th. So I guess there's no rush.
> The fact that the Mac OS X part needs to call a
> new thread for the user's code and leave the main thread for the Cocoa
> stuff makes this considerably less trivial than I was expecting.
The user would just have to call the code from main, wouldn't he?
One thing that you may want to look into: does OS X allow the use of
constructor functions? I'm guessing yes, since it uses GCC.
Can you use a constructor to initialize things (except for argv and argc of
course)?
Evert