Support importing string literal macros with cinterop
This commit is contained in:
committed by
SvyatoslavScherbina
parent
4335f891b7
commit
e035ac1022
@@ -1,4 +1,5 @@
|
||||
#import <objc/NSObject.h>
|
||||
#import <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
@class Foo;
|
||||
|
||||
@@ -57,3 +58,6 @@ extern NSString* globalString;
|
||||
extern NSObject* globalObject;
|
||||
|
||||
int formatStringLength(NSString* format, ...);
|
||||
|
||||
#define STRING_MACRO @"String macro"
|
||||
#define CFSTRING_MACRO CFSTR("CFString macro")
|
||||
|
||||
Reference in New Issue
Block a user