blob: 7f12a3618c209618056ead1c4f73a682ab259ade [file] [log] [blame]
#![allow(
dead_code,
non_snake_case,
non_camel_case_types,
non_upper_case_globals
)]
#![cfg(feature = "nightly")]
#[repr(C)]
pub struct PackedVtable__bindgen_vtable(::std::os::raw::c_void);
#[repr(C, packed)]
#[derive(Debug)]
pub struct PackedVtable {
pub vtable_: *const PackedVtable__bindgen_vtable,
}
#[test]
fn bindgen_test_layout_PackedVtable() {
assert_eq!(
::std::mem::size_of::<PackedVtable>(),
8usize,
concat!("Size of: ", stringify!(PackedVtable))
);
assert_eq!(
::std::mem::align_of::<PackedVtable>(),
1usize,
concat!("Alignment of ", stringify!(PackedVtable))
);
}
impl Default for PackedVtable {
fn default() -> Self {
unsafe { ::std::mem::zeroed() }
}
}
extern "C" {
#[link_name = "\u{1}_ZN12PackedVtableD1Ev"]
pub fn PackedVtable_PackedVtable_destructor(this: *mut PackedVtable);
}