Differences From Artifact [6f60ff9dfc]:
- File
src/OFObject.m
— part of check-in
[285e1138bc]
at
2012-08-03 22:37:50
on branch trunk
— Implement basic forwarding.
No need to implement it for the Apple runtime, as the Apple runtime
already tries to call these methods. (user: js, size: 21860) [annotate] [blame] [check-ins using]
To Artifact [ef2b5b53fe]:
- File src/OFObject.m — part of check-in [c34d45798b] at 2012-08-04 08:29:06 on branch trunk — Replace a few init methods with constructors. (user: js, size: 21507) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
90 91 92 93 94 95 96 | static SEL cxx_construct = NULL; static SEL cxx_destruct = NULL; size_t of_pagesize; size_t of_num_cpus; | < < < < < | 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | static SEL cxx_construct = NULL; static SEL cxx_destruct = NULL; size_t of_pagesize; size_t of_num_cpus; #if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__) static void uncaught_exception_handler(id exception) { fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n", [[exception description] UTF8String]); } |
︙ | ︙ | |||
232 233 234 235 236 237 238 | { _OFObject_Serialization_reference = 1; } @implementation OFObject + (void)load { | < < < < < < < < < < < < < | 227 228 229 230 231 232 233 234 235 236 237 238 239 240 | { _OFObject_Serialization_reference = 1; } @implementation OFObject + (void)load { #if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__) objc_setUncaughtExceptionHandler(uncaught_exception_handler); #endif #ifdef OF_OBJFW_RUNTIME objc_forward_handler = forward_handler; #endif |
︙ | ︙ |