mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 21:21:14 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
17 lines
240 B
C
17 lines
240 B
C
// bindgen-flags: --rustified-enum ".*"
|
|
|
|
enum __attribute__((packed)) Foo {
|
|
Bar = 0,
|
|
Qux
|
|
};
|
|
|
|
enum __attribute__((packed)) Neg {
|
|
MinusOne = -1,
|
|
One = 1,
|
|
};
|
|
|
|
enum __attribute__((packed)) Bigger {
|
|
Much = 255,
|
|
Larger
|
|
};
|