summaryrefslogtreecommitdiff
path: root/platform/ios/main.m
blob: 516ced70d3459bc1a46b982a811dc4c07b037d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import <UIKit/UIKit.h>

int main(int argc, char *argv[])
{
	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
	int retVal;

	@try {
		retVal = UIApplicationMain(argc, argv, nil, @"MuAppDelegate");
	}
	@catch (NSException* exception) {
		NSLog(@"Uncaught exception %@", exception);
		NSLog(@"Stack trace: %@", [exception callStackSymbols]);
	}

	[pool release];
	return retVal;
}