| /* automatically generated by rust-bindgen */ |
| |
| |
| #![allow(non_snake_case)] |
| |
| |
| #[repr(C)] |
| #[derive(Debug, Copy, Clone)] |
| pub struct JS_Zone([u8; 0]); |
| #[repr(C)] |
| #[derive(Debug, Default, Copy)] |
| pub struct JS_shadow_Zone { |
| pub x: ::std::os::raw::c_int, |
| pub y: ::std::os::raw::c_int, |
| } |
| #[test] |
| fn bindgen_test_layout_JS_shadow_Zone() { |
| assert_eq!(::std::mem::size_of::<JS_shadow_Zone>() , 8usize , concat ! ( |
| "Size of: " , stringify ! ( JS_shadow_Zone ) )); |
| assert_eq! (::std::mem::align_of::<JS_shadow_Zone>() , 4usize , concat ! ( |
| "Alignment of " , stringify ! ( JS_shadow_Zone ) )); |
| assert_eq! (unsafe { |
| & ( * ( 0 as * const JS_shadow_Zone ) ) . x as * const _ as |
| usize } , 0usize , concat ! ( |
| "Alignment of field: " , stringify ! ( JS_shadow_Zone ) , "::" |
| , stringify ! ( x ) )); |
| assert_eq! (unsafe { |
| & ( * ( 0 as * const JS_shadow_Zone ) ) . y as * const _ as |
| usize } , 4usize , concat ! ( |
| "Alignment of field: " , stringify ! ( JS_shadow_Zone ) , "::" |
| , stringify ! ( y ) )); |
| } |
| impl Clone for JS_shadow_Zone { |
| fn clone(&self) -> Self { *self } |
| } |