Differences From Artifact [34ff9074e3]:
- File src/OFApplication.m — part of check-in [eba39f1c9d] at 2017-11-22 00:47:40 on branch trunk — OF_APPLICATION_DELEGATE(): Verify conformance (user: js, size: 12977) [annotate] [blame] [check-ins using]
To Artifact [9f443dae6c]:
- File
src/OFApplication.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: 12663) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
111 112 113 114 115 116 117 | #endif #ifdef SIGUSR2 SIGNAL_HANDLER(SIGUSR2) #endif #undef SIGNAL_HANDLER int | | > < < < < < < < < < | 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 of_application_main(int *argc, char **argv[], id <OFApplicationDelegate> delegate) { #ifdef OF_WINDOWS wchar_t **wargv, **wenvp; int wargc, si = 0; #endif [[OFLocalization alloc] init]; app = [[OFApplication alloc] of_init]; [app of_setArgumentCount: argc andArgumentValues: argv]; #ifdef OF_WINDOWS __wgetmainargs(&wargc, &wargv, &wenvp, _CRT_glob, &si); [app of_setArgumentCount: wargc andWideArgumentValues: wargv]; #endif [app setDelegate: delegate]; [app of_run]; [delegate release]; return 0; |
︙ | ︙ |