1 #import <UIKit/UIKit.h> 2 #include "SkApplication.h" 3 4 extern void save_args(int argc, char *argv[]); 5 6 int main(int argc, char *argv[]) { 7 signal(SIGPIPE, SIG_IGN); 8 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 9 application_init(); 10 save_args(argc, argv); 11 int retVal = UIApplicationMain(argc, argv, nil, nil); 12 application_term(); 13 [pool release]; 14 return retVal; 15 } 16