ObjFW  Diff

Differences From Artifact [59e7142287]:

To Artifact [37f94ecb02]:


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