|
1 | 1 | /* automatically generated by rust-bindgen */
|
2 | 2 |
|
3 |
| - |
4 | 3 | #![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals)]
|
5 | 4 |
|
6 |
| - |
7 | 5 | pub const Foo_Bar: Foo = Foo(2);
|
8 | 6 | pub const Foo_Baz: Foo = Foo(4);
|
9 | 7 | pub const Foo_Duplicated: Foo = Foo(4);
|
@@ -36,7 +34,7 @@ impl ::std::ops::BitAndAssign for Foo {
|
36 | 34 | }
|
37 | 35 | #[repr(C)]
|
38 | 36 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
39 |
| -pub struct Foo(pub ::std::os::raw::c_int); |
| 37 | +pub struct Foo(pub i32); |
40 | 38 | pub const Buz_Bar: Buz = Buz(2);
|
41 | 39 | pub const Buz_Baz: Buz = Buz(4);
|
42 | 40 | pub const Buz_Duplicated: Buz = Buz(4);
|
@@ -69,7 +67,7 @@ impl ::std::ops::BitAndAssign for Buz {
|
69 | 67 | }
|
70 | 68 | #[repr(C)]
|
71 | 69 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
72 |
| -pub struct Buz(pub ::std::os::raw::c_schar); |
| 70 | +pub struct Buz(pub i8); |
73 | 71 | pub const NS_FOO: _bindgen_ty_1 = _bindgen_ty_1(1);
|
74 | 72 | pub const NS_BAR: _bindgen_ty_1 = _bindgen_ty_1(2);
|
75 | 73 | impl ::std::ops::BitOr<_bindgen_ty_1> for _bindgen_ty_1 {
|
@@ -100,7 +98,7 @@ impl ::std::ops::BitAndAssign for _bindgen_ty_1 {
|
100 | 98 | }
|
101 | 99 | #[repr(C)]
|
102 | 100 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
103 |
| -pub struct _bindgen_ty_1(pub ::std::os::raw::c_uint); |
| 101 | +pub struct _bindgen_ty_1(pub u32); |
104 | 102 | #[repr(C)]
|
105 | 103 | #[derive(Debug, Default, Copy, Clone)]
|
106 | 104 | pub struct Dummy {
|
@@ -136,7 +134,7 @@ impl ::std::ops::BitAndAssign for Dummy__bindgen_ty_1 {
|
136 | 134 | }
|
137 | 135 | #[repr(C)]
|
138 | 136 | #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
|
139 |
| -pub struct Dummy__bindgen_ty_1(pub ::std::os::raw::c_uint); |
| 137 | +pub struct Dummy__bindgen_ty_1(pub u32); |
140 | 138 | #[test]
|
141 | 139 | fn bindgen_test_layout_Dummy() {
|
142 | 140 | assert_eq!(
|
|
0 commit comments