1 #![allow(
2     dead_code,
3     non_snake_case,
4     non_camel_case_types,
5     non_upper_case_globals
6 )]
7 
8 extern "C" {
foonull9     pub fn foo();
10 }
11 #[repr(C)]
12 #[derive(Debug, Default, Copy, Clone)]
13 pub struct Foo {
14     pub _address: u8,
15 }
16 extern "C" {
17     #[link_name = "\u{1}?sBar@Foo@@2_NA"]
18     pub static mut Foo_sBar: bool;
19 }
20 #[test]
bindgen_test_layout_Foonull21 fn bindgen_test_layout_Foo() {
22     assert_eq!(
23         ::std::mem::size_of::<Foo>(),
24         1usize,
25         concat!("Size of: ", stringify!(Foo))
26     );
27     assert_eq!(
28         ::std::mem::align_of::<Foo>(),
29         1usize,
30         concat!("Alignment of ", stringify!(Foo))
31     );
32 }
33 extern "fastcall" {
fast_call_func_no_argsnull34     pub fn fast_call_func_no_args() -> ::std::os::raw::c_int;
35 }
36 extern "fastcall" {
fast_call_func_many_argsnull37     pub fn fast_call_func_many_args(
38         arg1: ::std::os::raw::c_int,
39         arg2: ::std::os::raw::c_int,
40         arg3: ::std::os::raw::c_int,
41     ) -> ::std::os::raw::c_int;
42 }
43 extern "stdcall" {
std_call_func_no_argsnull44     pub fn std_call_func_no_args() -> ::std::os::raw::c_int;
45 }
46 extern "stdcall" {
std_call_func_many_argsnull47     pub fn std_call_func_many_args(
48         arg1: ::std::os::raw::c_int,
49         arg2: ::std::os::raw::c_int,
50         arg3: ::std::os::raw::c_int,
51     ) -> ::std::os::raw::c_int;
52 }
53