blob: 9b65536f94eef7cb6f574da5d4691722804eb172 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// bindgen-flags: --default-enum-style rust --default-non-copy-union-style manually_drop --no-default=".*" --no-hash=".*" --no-partialeq=".*" --no-debug=".*" --no-copy=".*" --with-derive-custom="foo_[^e].*=Clone" --with-derive-custom-struct="foo.*=Default" --with-derive-custom-enum="foo.*=Copy" --with-derive-custom-union="foo.*=Copy"
struct foo_struct {
int inner;
};
enum foo_enum {
inner = 0
};
union foo_union {
int fst;
float snd;
};
struct non_matching {
int inner;
};
|