mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 12:24:45 -04:00
1213b3dfb1
remove `clap` dependency 🎉
update the book installation instructions
18 lines
321 B
C
18 lines
321 B
C
// bindgen-flags: --explicit-padding
|
|
|
|
typedef unsigned char uint8_t;
|
|
typedef unsigned short uint16_t;
|
|
typedef unsigned int uint32_t;
|
|
|
|
struct pad_me {
|
|
uint8_t first;
|
|
uint32_t second;
|
|
uint16_t third;
|
|
};
|
|
|
|
union dont_pad_me {
|
|
uint8_t first;
|
|
uint32_t second;
|
|
uint16_t third;
|
|
};
|