Differences From Artifact [59e7142287]:
- File
src/bridge/OFString+NSObject.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: 1096) [annotate] [blame] [check-ins using]
To Artifact [37f94ecb02]:
- File src/bridge/OFString+NSObject.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: 1144) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # import "OFString.h" #else # import <ObjFW/OFString.h> #endif #import "OFBridging.h" /*! * @category OFString (NSObject) \ * OFString+NSObject.h ObjFW-Bridge/OFString+NSObject.h * * @brief Support for bridging OFStrings to NSStrings. * * 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 OFString (NSObject) <OFBridging> @end | > > > > | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | # import "OFString.h" #else # import <ObjFW/OFString.h> #endif #import "OFBridging.h" OF_ASSUME_NONNULL_BEGIN /*! * @category OFString (NSObject) \ * OFString+NSObject.h ObjFW-Bridge/OFString+NSObject.h * * @brief Support for bridging OFStrings to NSStrings. * * 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 OFString (NSObject) <OFBridging> @end OF_ASSUME_NONNULL_END |