ObjFW  Diff

Differences From Artifact [8cb0d7b30c]:

To Artifact [0096d26e80]:


15
16
17
18
19
20
21



22
23
24
25
26
27
28
29
 */

#import <Foundation/NSString.h>

#import "NSBridging.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







>
>
>








15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 */

#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