Overview
Comment: | OF_APPLICATION_DELEGATE(): Improve type checking
This is done at compile time now rather than at runtime. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
54b38752bb8316350763f77927fe2b09 |
User & Date: | js on 2017-11-22 01:05:29 |
Other Links: | manifest | tags |
Context
2017-11-26
| ||
14:29 | OFData: Change no copy handling check-in: 6cf7d6c33e user: js tags: trunk | |
2017-11-22
| ||
01:05 | OF_APPLICATION_DELEGATE(): Improve type checking check-in: 54b38752bb user: js tags: trunk | |
00:47 | OF_APPLICATION_DELEGATE(): Verify conformance check-in: eba39f1c9d user: js tags: trunk | |
Changes
Modified src/OFApplication.h from [21318ded74] to [b0172a54c9].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | - + + | @class OFSandbox; @class OFString; #define OF_APPLICATION_DELEGATE(cls) \ int \ main(int argc, char *argv[]) \ { \ |
︙ | |||
253 254 255 256 257 258 259 | 254 255 256 257 258 259 260 261 262 263 264 265 266 | - + | #endif @end #ifdef __cplusplus extern "C" { #endif extern int of_application_main(int *_Nonnull, |
Modified src/OFApplication.m from [34ff9074e3] to [9f443dae6c].
︙ | |||
111 112 113 114 115 116 117 | 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | - + + - - - - - - - - - | #endif #ifdef SIGUSR2 SIGNAL_HANDLER(SIGUSR2) #endif #undef SIGNAL_HANDLER int |
︙ |
Modified tests/TestsAppDelegate.m from [32055328b2] to [c62c58f9b6].
︙ | |||
144 145 146 147 148 149 150 | 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, |
︙ | |||
196 197 198 199 200 201 202 | 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 | - + + | gspWaitForVBlank(); } # else abort(); # endif } #else |
︙ |