blob: 8a3bb86917034a08117b7a06b3d891dd02d202e4 [file] [log] [blame]
// bindgen-flags: --objc-extern-crate --whitelist-type WhitelistMe --whitelist-type WhitelistMe_InterestingCategory -- -x objective-c
// bindgen-osx-only
// Protocol should be included, since it is used by the WhitelistMe
@protocol SomeProtocol
-(void)protocolMethod;
+(void)protocolClassMethod;
@end
// The whitelisted item
@interface WhitelistMe <SomeProtocol>
-(void)method;
+(void)classMethod;
@end
// This was also explicitly whitelisted
@interface WhitelistMe (InterestingCategory)
@end
// This was not automatically whitelisted
@interface WhitelistMe (IgnoredCategory)
@end