mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-22 15:35:27 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
16 lines
521 B
Objective-C
16 lines
521 B
Objective-C
// 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
|