Merges objc top level headers into main headers (using #ifdef __OBJC__)

This commit is contained in:
Phil Nash committed 2011-04-26 19:00:25 +01:00
1 parent 38edb9fa95
commit 95419e935c
8 files changed
+28 -38

No files matched your search

+15
View File
@@ -17,7 +17,22 @@
int main (int argc, char * const argv[])
{
#ifdef __OBJC__
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
Catch::registerTestMethods();
int result = Catch::Main( argc, (char* const*)argv );
[pool drain];
return result;
#else
return Catch::Main( argc, argv );
#endif
}
#endif // TWOBLUECUBES_CATCH_WITH_MAIN_HPP_INCLUDED