ObjFW  Diff

Differences From Artifact [8cc6d5774c]:

To Artifact [fdff56af4e]:


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 * file.
 */

#import <Foundation/NSString.h>

#import "NSBridging.h"

NS_ASSUME_NONNULL_BEGIN

#ifdef __cplusplus
extern "C" {
#endif
extern int _NSString_OFObject_reference;
#ifdef __cplusplus
}







|







14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 * file.
 */

#import <Foundation/NSString.h>

#import "NSBridging.h"

OF_ASSUME_NONNULL_BEGIN

#ifdef __cplusplus
extern "C" {
#endif
extern int _NSString_OFObject_reference;
#ifdef __cplusplus
}
37
38
39
40
41
42
43
44
 * 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

NS_ASSUME_NONNULL_END







|
37
38
39
40
41
42
43
44
 * 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