1 // bindgen-flags: -- -x objective-c 2 // bindgen-osx-only 3 4 @interface Foo 5 - (void)method; 6 - (void)methodWithInt:(int)foo; 7 - (void)methodWithFoo:(Foo*)foo; 8 - (int)methodReturningInt; 9 - (Foo*)methodReturningFoo; 10 - (void)methodWithArg1:(int)intvalue andArg2:(char*)ptr andArg3:(float)floatvalue; 11 - (instancetype)methodWithAndWithoutKeywords:(int)arg1 12 arg2Name:(float)arg2 13 :(float)arg3 14 arg4Name:(int)arg4; 15 @end 16