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
15 lines
253 B
C
15 lines
253 B
C
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
|
|
//
|
|
struct bitfield {
|
|
unsigned short
|
|
a :1,
|
|
b :1,
|
|
c :1,
|
|
:1,
|
|
:2,
|
|
d :2;
|
|
int e;
|
|
unsigned int f : 2;
|
|
unsigned int g : 32;
|
|
};
|