Skip to content

Instantly share code, notes, and snippets.

@jsgf
Created January 6, 2017 00:03
Show Gist options
  • Save jsgf/ddcc0db8b239b781d0590199cbe2ec80 to your computer and use it in GitHub Desktop.
Save jsgf/ddcc0db8b239b781d0590199cbe2ec80 to your computer and use it in GitHub Desktop.
/* automatically generated by rust-bindgen */
#[repr(C)]
pub struct _bindgen_mod_id_1_basic_ostream__bindgen_vtable {
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _bindgen_mod_id_1_basic_ostream<_CharT, _Traits> {
pub vtable_: *const _bindgen_mod_id_1_basic_ostream__bindgen_vtable,
pub _phantom_0: ::std::marker::PhantomData<_CharT>,
pub _phantom_1: ::std::marker::PhantomData<_Traits>,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _bindgen_mod_id_1_basic_ios {
pub _address: u8,
}
impl Clone for _bindgen_mod_id_1_basic_ios {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _bindgen_mod_id_1_strstreambuf {
pub _address: u8,
}
#[test]
fn bindgen_test_layout__bindgen_mod_id_1_strstreambuf() {
assert_eq!(::std::mem::size_of::<_bindgen_mod_id_1_strstreambuf>() ,
1usize);
assert_eq!(::std::mem::align_of::<_bindgen_mod_id_1_strstreambuf>() ,
1usize);
}
impl Clone for _bindgen_mod_id_1_strstreambuf {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _bindgen_mod_id_1_ostrstream {
pub _base: _bindgen_mod_id_1_basic_ostream<::std::os::raw::c_char,
::std::os::raw::c_char>,
pub _M_buf: _bindgen_mod_id_1_strstreambuf,
}
#[test]
fn bindgen_test_layout__bindgen_mod_id_1_ostrstream() {
assert_eq!(::std::mem::size_of::<_bindgen_mod_id_1_ostrstream>() ,
16usize);
assert_eq!(::std::mem::align_of::<_bindgen_mod_id_1_ostrstream>() ,
8usize);
}
impl Clone for _bindgen_mod_id_1_ostrstream {
fn clone(&self) -> Self { *self }
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _bindgen_mod_id_1_LogMessage {
pub _address: u8,
}
#[repr(C)]
#[derive(Debug, Copy)]
pub struct _bindgen_mod_id_1_LogMessage_LogStream {
pub _base: _bindgen_mod_id_1_ostrstream,
pub ctr_: ::std::os::raw::c_int,
}
#[test]
fn bindgen_test_layout__bindgen_mod_id_1_LogMessage_LogStream() {
assert_eq!(::std::mem::size_of::<_bindgen_mod_id_1_LogMessage_LogStream>()
, 16usize);
assert_eq!(::std::mem::align_of::<_bindgen_mod_id_1_LogMessage_LogStream>()
, 8usize);
}
impl Clone for _bindgen_mod_id_1_LogMessage_LogStream {
fn clone(&self) -> Self { *self }
}
#[test]
fn bindgen_test_layout__bindgen_mod_id_1_LogMessage() {
assert_eq!(::std::mem::size_of::<_bindgen_mod_id_1_LogMessage>() ,
1usize);
assert_eq!(::std::mem::align_of::<_bindgen_mod_id_1_LogMessage>() ,
1usize);
}
impl Clone for _bindgen_mod_id_1_LogMessage {
fn clone(&self) -> Self { *self }
}
#[test]
fn __bindgen_test_layout_template_1() {
assert_eq!(::std::mem::size_of::<_bindgen_mod_id_1_basic_ostream<::std::os::raw::c_char,
::std::os::raw::c_char>>()
, 8usize);
assert_eq!(::std::mem::align_of::<_bindgen_mod_id_1_basic_ostream<::std::os::raw::c_char,
::std::os::raw::c_char>>()
, 8usize);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment