Differences From Artifact [d6054ff862]:
- File
src/OFObject.m
— part of check-in
[c8a562d8d7]
at
2014-08-23 01:01:14
on branch trunk
— Make ObjFW.framework a module
This makes it possible to import ObjFW from Swift. (user: js, size: 24356) [annotate] [blame] [check-ins using]
To Artifact [da02b5a0e1]:
- File
src/OFObject.m
— part of check-in
[ec66e49dca]
at
2014-10-04 21:59:51
on branch trunk
— Add +[OFSystemInfo native8BitEncoding]
This replaces +[OFString nativeOSEncoding]. (user: js, size: 24417) [annotate] [blame] [check-ins using]
︙ | |||
22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + | #include <assert.h> #include <sys/time.h> #import "OFObject.h" #import "OFArray.h" #import "OFSystemInfo.h" #import "OFTimer.h" #import "OFRunLoop.h" #import "OFThread.h" #import "OFAllocFailedException.h" #import "OFEnumerationMutationException.h" #import "OFInitializationFailedException.h" |
︙ | |||
95 96 97 98 99 100 101 102 103 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | + - + - + | #if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__) static void uncaughtExceptionHandler(id exception) { OFString *description = [exception description]; OFArray *backtrace = nil; of_string_encoding_t encoding = [OFSystemInfo native8BitEncoding]; fprintf(stderr, "\nRuntime error: Unhandled exception:\n%s\n", |
︙ | |||
198 199 200 201 202 203 204 | 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | - + | return instance; } const char* _NSPrintForDebugger(id object) { return [[object description] |
︙ |