use SDL_Threads everywhere
The trick was to mark the threaded functions as cdecl and load arguments correctly. This allows us to:
- drop a few ifdefs;
- use integrated waiting code;
- remove some whitespaces \o/;
- fix
bug #591.
/* SDLMain.m - main entry point for our Cocoa-ized SDL app
Initial Version: Darrell Walisser <dwaliss1@purdue.edu>
Non-NIB-Code & other changes: Max Horn <max@quendi.de>
Feel free to customize this file to suit your needs
*/
#ifndef _SDLMain_h_
#define _SDLMain_h_
#import <Cocoa/Cocoa.h>
@interface SDLMain : NSObject
@end
#endif /* _SDLMain_h_ */