19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#else
# import <ObjFW/OFString.h>
#endif
#import "OFBridging.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
|
>
>
>
|
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#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
|