summaryrefslogtreecommitdiff
path: root/tests/headers/objc_method.h
blob: b89d1621b1d62500d6c8ca9d46a2616f1026473e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// bindgen-flags: -- -x objective-c
// bindgen-osx-only

@interface Foo
- (void)method;
- (void)methodWithInt:(int)foo;
- (void)methodWithFoo:(Foo*)foo;
- (int)methodReturningInt;
- (Foo*)methodReturningFoo;
- (void)methodWithArg1:(int)intvalue andArg2:(char*)ptr andArg3:(float)floatvalue;
- (instancetype)methodWithAndWithoutKeywords:(int)arg1
                                    arg2Name:(float)arg2
                                            :(float)arg3
                                    arg4Name:(int)arg4;
@end