Files
Christian Poveda 1213b3dfb1 split the repo into a workspace
remove `clap` dependency 🎉

update the book installation instructions
2022-10-04 20:47:17 -05:00

31 lines
414 B
C

// A few tests for enum-related issues that should be tested with all the enum
// representations.
struct foo {
enum {
FOO_A,
FOO_B,
} member;
};
enum Foo {
Bar = 0,
Qux
};
enum Neg {
MinusOne = -1,
One = 1,
};
/** <div rustbindgen nodebug></div> */
enum NoDebug {
NoDebug1,
NoDebug2,
};
/** <div rustbindgen derive="Debug"></div> */
enum Debug {
Debug1,
Debug2,
};