1 // bindgen-flags: --allowlist-type IAllowlistMe --allowlist-type AllowlistMe_InterestingCategory -- -x objective-c
2 // bindgen-osx-only
3 
4 
5 // Protocol should be included, since it is used by the AllowlistMe
6 @protocol SomeProtocol
7 -(void)protocolMethod;
8 +(void)protocolClassMethod;
9 @end
10 
11 // The allowlisted item
12 @interface AllowlistMe <SomeProtocol>
13 -(void)method;
14 +(void)classMethod;
15 @end
16 
17 // This was also explicitly allowlisted
18 @interface AllowlistMe (InterestingCategory)
19 @end
20 
21 // This was not automatically allowlisted
22 @interface AllowlistMe (IgnoredCategory)
23 @end
24 
25