mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 12:24:45 -04:00
f8b7761ba3
The objetive-c template type params were handled as Typedefs so every interface generated its own, clashing in the namespace. This now maps them to id.
7 lines
140 B
Objective-C
7 lines
140 B
Objective-C
// bindgen-flags: --objc-extern-crate -- -x objective-c
|
|
// bindgen-osx-only
|
|
|
|
@interface Foo<__covariant ObjectType>
|
|
- (ObjectType)get;
|
|
@end
|