mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-27 05:31:15 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
20 lines
399 B
C
20 lines
399 B
C
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
|
|
//
|
|
struct foo {
|
|
unsigned int a;
|
|
union {
|
|
unsigned int b;
|
|
struct {
|
|
unsigned short c1;
|
|
unsigned short c2;
|
|
};
|
|
|
|
struct {
|
|
unsigned char d1;
|
|
unsigned char d2;
|
|
unsigned char d3;
|
|
unsigned char d4;
|
|
};
|
|
};
|
|
};
|