mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-24 05:59:13 -04:00
aa7c076209
It parses interfaces and protocol but ignores base classes, and their methods which don’t have arguments, the method signature is currently ignored. Also you can pass objc class instances to C functions. Next steps are inheritance/base classes, method signatures, properties, categories. Then check with system headers what is missing.
9 lines
117 B
Objective-C
9 lines
117 B
Objective-C
// bindgen-flags: --objc-extern-crate -- -x objective-c
|
|
// bindgen-osx-only
|
|
|
|
@interface Foo
|
|
@end
|
|
|
|
@protocol bar
|
|
@end
|