mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-23 07:55:25 -04:00
12 lines
164 B
C
12 lines
164 B
C
// bindgen-flags: --default-enum-style=moduleconsts --constified-enum-module=Neg
|
|
|
|
enum Foo {
|
|
Bar = 0,
|
|
Qux
|
|
};
|
|
|
|
enum Neg {
|
|
MinusOne = -1,
|
|
One = 1,
|
|
};
|