Differences From Artifact [d89258eedd]:
- File src/bridge/OFString+NSObject.m — part of check-in [2de9660312] at 2017-09-28 23:02:23 on branch trunk — Enable -Wnullable-to-nonnull-conversion and adjust (user: js, size: 947) [annotate] [blame] [check-ins using] [more...]
To Artifact [1a39aa09d0]:
- File src/bridge/OFString+NSObject.m — part of check-in [07e85b7edb] at 2017-10-15 22:20:20 on branch trunk — bridge: Symbols to force references to categories (user: js, size: 982) [annotate] [blame] [check-ins using]
︙ | |||
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | + + | */ #import <Foundation/NSString.h> #import "OFString+NSObject.h" #import "OFInitializationFailedException.h" int _OFString_NSObject_reference; @implementation OFString (NSObject) - (id)NSObject { NSString *string = [NSString stringWithUTF8String: [self UTF8String]]; if (string == nil) @throw [OFInitializationFailedException exceptionWithClass: [NSString class]]; return string; } @end |