diff options
Diffstat (limited to 'tests/headers')
-rw-r--r-- | tests/headers/jsval_layout_opaque.hpp | 2 | ||||
-rw-r--r-- | tests/headers/only_bitfields.hpp | 2 | ||||
-rw-r--r-- | tests/headers/struct_with_bitfields.h | 1 | ||||
-rw-r--r-- | tests/headers/union_with_anon_struct_bitfield.h | 3 | ||||
-rw-r--r-- | tests/headers/weird_bitfields.hpp | 1 |
5 files changed, 6 insertions, 3 deletions
diff --git a/tests/headers/jsval_layout_opaque.hpp b/tests/headers/jsval_layout_opaque.hpp index 630a2c17..db09cb54 100644 --- a/tests/headers/jsval_layout_opaque.hpp +++ b/tests/headers/jsval_layout_opaque.hpp @@ -1,4 +1,4 @@ -// bindgen-flags: -std=c++11 -match jsval_layout_opaque.hpp -no-type-renaming +// bindgen-flags: -std=c++11 -match jsval_layout_opaque.hpp -no-type-renaming -no-unstable-rust #include <stdint.h> #include <stddef.h> diff --git a/tests/headers/only_bitfields.hpp b/tests/headers/only_bitfields.hpp index 48b401b6..30a75ebb 100644 --- a/tests/headers/only_bitfields.hpp +++ b/tests/headers/only_bitfields.hpp @@ -1,4 +1,4 @@ - +// bindgen-flags: -no-unstable-rust class C { bool a: 1; bool b: 7; diff --git a/tests/headers/struct_with_bitfields.h b/tests/headers/struct_with_bitfields.h index ece512cd..b994da4e 100644 --- a/tests/headers/struct_with_bitfields.h +++ b/tests/headers/struct_with_bitfields.h @@ -1,3 +1,4 @@ +// bindgen-flags: -no-unstable-rust struct bitfield { unsigned short a :1, diff --git a/tests/headers/union_with_anon_struct_bitfield.h b/tests/headers/union_with_anon_struct_bitfield.h index d39b92d1..5a6fc7bc 100644 --- a/tests/headers/union_with_anon_struct_bitfield.h +++ b/tests/headers/union_with_anon_struct_bitfield.h @@ -1,7 +1,8 @@ +// bindgen-flags: -no-unstable-rust union foo { int a; struct { int b : 7; int c : 25; }; -};
\ No newline at end of file +}; diff --git a/tests/headers/weird_bitfields.hpp b/tests/headers/weird_bitfields.hpp index 68cbf4a5..e8287507 100644 --- a/tests/headers/weird_bitfields.hpp +++ b/tests/headers/weird_bitfields.hpp @@ -1,3 +1,4 @@ +// bindgen-flags: -no-unstable-rust // You can guess where this is taken from... enum nsStyleSVGOpacitySource { eStyleSVGOpacitySource_Normal, |