diff options
author | Sebastian Imlay <sebastian.imlay@gmail.com> | 2020-08-28 16:30:47 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-09-16 12:26:24 +0200 |
commit | 81d323d8b1f81f298e59cd72eff5e57e381f55ac (patch) | |
tree | 785d708341b2513eb0e4091ca95e16adec98d489 /tests/headers/objc_protocol_inheritance.h | |
parent | 840b738ecfeefbd31d8676c60e2eca7ad6d0f424 (diff) |
Updates base on comments
* Added TryInto trait implementation from parent to child interfaces.
* Added HashSet for protocols so that the protocol inheritance works as
well.
Diffstat (limited to 'tests/headers/objc_protocol_inheritance.h')
-rw-r--r-- | tests/headers/objc_protocol_inheritance.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/objc_protocol_inheritance.h b/tests/headers/objc_protocol_inheritance.h new file mode 100644 index 00000000..d5f3a490 --- /dev/null +++ b/tests/headers/objc_protocol_inheritance.h @@ -0,0 +1,11 @@ +// bindgen-flags: --objc-extern-crate -- -x objective-c +// bindgen-osx-only + +@protocol Foo +@end + +@interface Foo <Foo> +@end + +@interface Bar : Foo +@end |