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
12 lines
197 B
C++
12 lines
197 B
C++
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq --rustified-enum ".*"
|
|
struct Test {
|
|
int foo;
|
|
float bar;
|
|
enum { T_NONE };
|
|
};
|
|
|
|
typedef enum {
|
|
Foo,
|
|
Bar,
|
|
} Baz;
|