Files
kotlin-fork/native/native.tests/testData/interop/objc/tests/customString.h
T
2024-01-31 16:17:21 +00:00

16 lines
357 B
Objective-C
Vendored

#import <Foundation/NSString.h>
@interface CustomString : NSString
- (instancetype)initWithValue:(int)value;
@property int value;
@end
CustomString* _Nonnull createCustomString(int value) {
return [[CustomString alloc] initWithValue:value];
}
int getCustomStringValue(CustomString* str) {
return str.value;
}
extern BOOL customStringDeallocated;