• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #![allow(
2     dead_code,
3     non_snake_case,
4     non_camel_case_types,
5     non_upper_case_globals
6 )]
7 
8 #[allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]
9 pub mod root {
10     #[allow(unused_imports)]
11     use self::super::root;
12     pub mod Halide {
13         #[allow(unused_imports)]
14         use self::super::super::root;
15         #[repr(C)]
16         #[derive(Debug, Default, Copy, Clone)]
17         pub struct Type {
18             pub _address: u8,
19         }
20         extern "C" {
21             #[link_name = "\u{1}_ZN6Halide4Type1bE"]
22             pub static mut Type_b: root::a;
23         }
24         #[test]
bindgen_test_layout_Type()25         fn bindgen_test_layout_Type() {
26             assert_eq!(
27                 ::std::mem::size_of::<Type>(),
28                 1usize,
29                 concat!("Size of: ", stringify!(Type))
30             );
31             assert_eq!(
32                 ::std::mem::align_of::<Type>(),
33                 1usize,
34                 concat!("Alignment of ", stringify!(Type))
35             );
36         }
37     }
38     #[repr(u32)]
39     #[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
40     pub enum a {
41         __bindgen_cannot_repr_c_on_empty_enum = 0,
42     }
43 }
44