Differences From Artifact [69808ffd1b]:
- File src/bridge/OFString+NSObject.m — part of check-in [c7f0229795] at 2020-01-02 01:51:34 on branch trunk — Update copyright (user: js, size: 1012) [annotate] [blame] [check-ins using] [more...]
To Artifact [fefeea73ea]:
- File
src/bridge/OFString+NSObject.m
— part of check-in
[9e9ce6aa1c]
at
2020-09-27 03:08:51
on branch trunk
— Work around bugs in Apple GCC 4.0.1
Still miscompiles things. (user: js, size: 1020) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
20 21 22 23 24 25 26 | #import "OFString+NSObject.h" #import "OFInitializationFailedException.h" int _OFString_NSObject_reference; @implementation OFString (NSObject) | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #import "OFString+NSObject.h" #import "OFInitializationFailedException.h" int _OFString_NSObject_reference; @implementation OFString (NSObject) - (NSString *)NSObject { NSString *string = [NSString stringWithUTF8String: self.UTF8String]; if (string == nil) @throw [OFInitializationFailedException exceptionWithClass: [NSString class]]; return string; } @end |