Files
swift-mirror/test/Concurrency/Runtime/Inputs/objc_async.h

28 lines
621 B
Objective-C

#include <Foundation/Foundation.h>
@interface Butt: NSObject
- (instancetype _Nonnull)init;
- (void)butt:(NSInteger)x completionHandler:(void (^ _Nonnull)(NSInteger))handler;
@end
@interface MutableButt: Butt
@end
@interface MutableButt_2Fast2Furious: MutableButt
@end
@interface Farm: NSObject
-(void)getDogWithCompletion:(void (^ _Nonnull)(NSInteger))completionHandler
__attribute__((swift_async_name("getter:doggo()")));
-(void)obtainCat:(void (^ _Nonnull)(NSInteger, NSError* _Nullable))completionHandler
__attribute__((swift_async_name("getter:catto()")));
@end
void scheduleButt(Butt *b, NSString *s);