Differences From Artifact [32055328b2]:
- File tests/TestsAppDelegate.m — part of check-in [7c30d6a2e2] at 2017-11-05 18:01:21 on branch trunk — Add OFCharacterSet (user: js, size: 10735) [annotate] [blame] [check-ins using]
To Artifact [c62c58f9b6]:
- File
tests/TestsAppDelegate.m
— part of check-in
[54b38752bb]
at
2017-11-22 01:05:29
on branch trunk
— OF_APPLICATION_DELEGATE(): Improve type checking
This is done at compile time now rather than at runtime. (user: js, size: 10754) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
144 145 146 147 148 149 150 | consoleInit(GFX_TOP, NULL); #endif #if defined(OF_WII) || defined(OF_PSP) || defined(OF_NINTENDO_DS) || \ defined(OF_NINTENDO_3DS) @try { return of_application_main(&argc, &argv, | | | 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 | consoleInit(GFX_TOP, NULL); #endif #if defined(OF_WII) || defined(OF_PSP) || defined(OF_NINTENDO_DS) || \ defined(OF_NINTENDO_3DS) @try { return of_application_main(&argc, &argv, [[TestsAppDelegate alloc] init]); } @catch (id e) { TestsAppDelegate *delegate = [[OFApplication sharedApplication] delegate]; OFString *string = [OFString stringWithFormat: @"\nRuntime error: Unhandled exception:\n%@\n", e]; OFString *backtrace = [OFString stringWithFormat: @"\nBacktrace:\n %@\n\n", |
︙ | ︙ | |||
196 197 198 199 200 201 202 | gspWaitForVBlank(); } # else abort(); # endif } #else | | > | 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | gspWaitForVBlank(); } # else abort(); # endif } #else return of_application_main(&argc, &argv, [[TestsAppDelegate alloc] init]); #endif } @implementation TestsAppDelegate - (void)outputString: (OFString *)str inColor: (int)color { |
︙ | ︙ |