aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/iOSSampleApp/Shared/skia_ios.mm
blob: 4e497867bf36e21f78476bd8c44523a4cd5e1372 (plain)
1
2
3
4
5
6
7
8
9
10
11
#import <UIKit/UIKit.h>
#include "SkApplication.h"
int main(int argc, char *argv[]) {
    signal(SIGPIPE, SIG_IGN);
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    application_init();
    int retVal = UIApplicationMain(argc, argv, nil, nil);
    application_term();
    [pool release];
    return retVal;
}