blob: 8301bd1f10a1ce11f5ed5a70b2f0ced1c9498e73 [file] [log] [blame]
void moveToPointDUMP(double x, double y) __attribute__((swift_name("moveTo(x:y:)")));
void acceptClosure(void (^ __attribute__((noescape)) block)(void));
@class NSString;
extern NSString *MyErrorDomain;
enum __attribute__((ns_error_domain(MyErrorDomain))) MyErrorCode {
MyErrorCodeFailed = 1
};
__attribute__((swift_bridge("MyValueType")))
@interface MyReferenceType
@end
void privateFunc(void) __attribute__((swift_private));
typedef double MyDoubleWrapper __attribute__((swift_wrapper(struct)));
@interface TestProperties
@property (nonatomic, readwrite, retain) id accessorsOnly;
@property (nonatomic, readwrite, retain, class) id accessorsOnlyForClass;
@property (nonatomic, readwrite, retain) id accessorsOnlyInVersion3;
@property (nonatomic, readwrite, retain, class) id accessorsOnlyForClassInVersion3;
@property (nonatomic, readwrite, retain) id accessorsOnlyExceptInVersion3;
@property (nonatomic, readwrite, retain, class) id accessorsOnlyForClassExceptInVersion3;
@end
@interface Base
@end
@interface TestGenericDUMP<Element> : Base
- (Element)element;
@end