Differences From Artifact [35d8cdd020]:
- File
src/bridge/NSString+OFObject.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 1031) [annotate] [blame] [check-ins using]
To Artifact [54df1b4794]:
- File src/bridge/NSString+OFObject.h — part of check-in [13965af7a1] at 2017-05-09 21:25:46 on branch trunk — Add a few missing OF_ASSUME_NONNULL_{BEGIN,END} (user: js, size: 1079) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | * file. */ #import <Foundation/NSString.h> #import "NSBridging.h" /*! * @category NSString (OFObject) * NSString+OFObject.h ObjFW-Bridge/NSString+OFObject.h * * @brief Support for bridging NSStrings to OFStrings. * * Unfortunately, they need to be copied, as NSString is not capable of * handling UCS-4 properly (a character of NSString is only 2 bytes, while a * character of OFString is 4). */ @interface NSString (OFObject) <NSBridging> @end | > > > > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | * file. */ #import <Foundation/NSString.h> #import "NSBridging.h" OF_ASSUME_NONNULL_BEGIN /*! * @category NSString (OFObject) * NSString+OFObject.h ObjFW-Bridge/NSString+OFObject.h * * @brief Support for bridging NSStrings to OFStrings. * * Unfortunately, they need to be copied, as NSString is not capable of * handling UCS-4 properly (a character of NSString is only 2 bytes, while a * character of OFString is 4). */ @interface NSString (OFObject) <NSBridging> @end OF_ASSUME_NONNULL_END |