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

31 lines
629 B
Objective-C
Vendored

#import <Foundation/NSObject.h>
extern BOOL deallocRetainReleaseDeallocated;
@interface DeallocRetainRelease : NSObject
@end
extern DeallocRetainRelease* globalDeallocRetainRelease;
@protocol WeakReference
@required
@property (weak) id referent;
@end
@interface ObjCWeakReference : NSObject <WeakReference>
@property (weak) id referent;
@end
extern id <WeakReference> weakDeallocLoadWeak;
extern BOOL deallocLoadWeakDeallocated;
@interface DeallocLoadWeak : NSObject
-(void)checkWeak;
@end
extern BOOL deallocRetainAndAccessDeallocated;
@interface DeallocRetainAndAccess : NSObject
@property void (^onDealloc)(id);
@end