2020-10-26 17:54:48 +00:00
|
|
|
/* automatically generated by rust-bindgen 0.55.1 */
|
2020-08-03 19:50:03 +00:00
|
|
|
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type va_list = __builtin_va_list;
|
|
|
|
pub type __int64_t = ::std::os::raw::c_long;
|
|
|
|
pub type __uint64_t = ::std::os::raw::c_ulong;
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImGuiContext {
|
|
|
|
_unused: [u8; 0],
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
#[repr(C)]
|
2020-10-26 17:54:48 +00:00
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImDrawListSharedData {
|
|
|
|
_unused: [u8; 0],
|
|
|
|
}
|
|
|
|
pub type ImGuiCond = ::std::os::raw::c_int;
|
|
|
|
pub type ImGuiMouseButton = ::std::os::raw::c_int;
|
|
|
|
pub type ImDrawListFlags = ::std::os::raw::c_int;
|
|
|
|
pub type ImGuiDragDropFlags = ::std::os::raw::c_int;
|
|
|
|
pub type ImGuiKeyModFlags = ::std::os::raw::c_int;
|
|
|
|
pub type ImTextureID = *mut ::std::os::raw::c_void;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImS8 = ::std::os::raw::c_schar;
|
|
|
|
pub type ImU8 = ::std::os::raw::c_uchar;
|
|
|
|
pub type ImS16 = ::std::os::raw::c_short;
|
|
|
|
pub type ImU16 = ::std::os::raw::c_ushort;
|
|
|
|
pub type ImS32 = ::std::os::raw::c_int;
|
2020-10-26 17:54:48 +00:00
|
|
|
pub type ImU32 = ::std::os::raw::c_uint;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImS64 = i64;
|
|
|
|
pub type ImU64 = u64;
|
2020-10-26 17:54:48 +00:00
|
|
|
pub type ImDrawCallback = ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd),
|
|
|
|
>;
|
|
|
|
pub type ImDrawIdx = ::std::os::raw::c_ushort;
|
2020-08-03 19:50:03 +00:00
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
2020-10-26 17:54:48 +00:00
|
|
|
pub struct ImVector_ImDrawVert {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImDrawVert,
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
#[test]
|
2020-10-26 17:54:48 +00:00
|
|
|
fn bindgen_test_layout_ImVector_ImDrawVert() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImDrawVert>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVector_ImDrawVert))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImDrawVert>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImDrawVert))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawVert>())).Size as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawVert),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Size)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawVert>())).Capacity as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawVert),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Capacity)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawVert>())).Data as *const _ as usize },
|
|
|
|
8usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawVert),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
2020-10-26 17:54:48 +00:00
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVector_ImDrawChannel {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImDrawChannel,
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
#[test]
|
2020-10-26 17:54:48 +00:00
|
|
|
fn bindgen_test_layout_ImVector_ImDrawChannel() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImDrawChannel>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVector_ImDrawChannel))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImDrawChannel>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImDrawChannel))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawChannel>())).Size as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawChannel),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Size)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawChannel>())).Capacity as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawChannel),
|
|
|
|
"::",
|
|
|
|
stringify!(Capacity)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawChannel>())).Data as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImVector_ImDrawChannel),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
2020-10-26 17:54:48 +00:00
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVector_ImTextureID {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImTextureID,
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
#[test]
|
2020-10-26 17:54:48 +00:00
|
|
|
fn bindgen_test_layout_ImVector_ImTextureID() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImTextureID>(),
|
2020-08-03 19:50:03 +00:00
|
|
|
16usize,
|
2020-10-26 17:54:48 +00:00
|
|
|
concat!("Size of: ", stringify!(ImVector_ImTextureID))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImTextureID>(),
|
2020-08-03 19:50:03 +00:00
|
|
|
8usize,
|
2020-10-26 17:54:48 +00:00
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImTextureID))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImTextureID>())).Size as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImTextureID),
|
|
|
|
"::",
|
|
|
|
stringify!(Size)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImTextureID>())).Capacity as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImVector_ImTextureID),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Capacity)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImTextureID>())).Data as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImTextureID),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
2020-10-26 17:54:48 +00:00
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVector_ImDrawCmd {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImDrawCmd,
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
#[test]
|
2020-10-26 17:54:48 +00:00
|
|
|
fn bindgen_test_layout_ImVector_ImDrawCmd() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImDrawCmd>(),
|
2020-08-03 19:50:03 +00:00
|
|
|
16usize,
|
2020-10-26 17:54:48 +00:00
|
|
|
concat!("Size of: ", stringify!(ImVector_ImDrawCmd))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImDrawCmd>(),
|
2020-08-03 19:50:03 +00:00
|
|
|
8usize,
|
2020-10-26 17:54:48 +00:00
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImDrawCmd))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawCmd>())).Size as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawCmd),
|
|
|
|
"::",
|
|
|
|
stringify!(Size)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawCmd>())).Capacity as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImVector_ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Capacity)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawCmd>())).Data as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
2020-10-26 17:54:48 +00:00
|
|
|
pub struct ImVector_ImVec4 {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImVec4,
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
#[test]
|
2020-10-26 17:54:48 +00:00
|
|
|
fn bindgen_test_layout_ImVector_ImVec4() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImVec4>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVector_ImVec4))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImVec4>(),
|
2020-08-03 19:50:03 +00:00
|
|
|
8usize,
|
2020-10-26 17:54:48 +00:00
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImVec4))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImVec4>())).Size as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImVec4),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Size)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImVec4>())).Capacity as *const _ as usize },
|
|
|
|
4usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImVec4),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Capacity)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImVec4>())).Data as *const _ as usize },
|
|
|
|
8usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImVec4),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVector_ImDrawIdx {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImDrawIdx,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImVector_ImDrawIdx() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImDrawIdx>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVector_ImDrawIdx))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImDrawIdx>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImDrawIdx))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawIdx>())).Size as *const _ as usize },
|
|
|
|
0usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawIdx),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Size)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawIdx>())).Capacity as *const _ as usize },
|
|
|
|
4usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawIdx),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Capacity)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImDrawIdx>())).Data as *const _ as usize },
|
|
|
|
8usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImDrawIdx),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVector_ImVec2 {
|
|
|
|
pub Size: ::std::os::raw::c_int,
|
|
|
|
pub Capacity: ::std::os::raw::c_int,
|
|
|
|
pub Data: *mut ImVec2,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImVector_ImVec2() {
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::size_of::<ImVector_ImVec2>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVector_ImVec2))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
::std::mem::align_of::<ImVector_ImVec2>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImVector_ImVec2))
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImVec2>())).Size as *const _ as usize },
|
|
|
|
0usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImVec2),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Size)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImVec2>())).Capacity as *const _ as usize },
|
|
|
|
4usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImVec2),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Capacity)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImVector_ImVec2>())).Data as *const _ as usize },
|
|
|
|
8usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImVector_ImVec2),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Data)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVec2 {
|
|
|
|
pub x: f32,
|
|
|
|
pub y: f32,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImVec2() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImVec2>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVec2))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImVec2>(),
|
|
|
|
4usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImVec2))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVec2>())).x as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!("Offset of field: ", stringify!(ImVec2), "::", stringify!(x))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVec2>())).y as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!("Offset of field: ", stringify!(ImVec2), "::", stringify!(y))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImVec4 {
|
|
|
|
pub x: f32,
|
|
|
|
pub y: f32,
|
|
|
|
pub z: f32,
|
|
|
|
pub w: f32,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImVec4() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImVec4>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImVec4))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImVec4>(),
|
|
|
|
4usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImVec4))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVec4>())).x as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!("Offset of field: ", stringify!(ImVec4), "::", stringify!(x))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVec4>())).y as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!("Offset of field: ", stringify!(ImVec4), "::", stringify!(y))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVec4>())).z as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!("Offset of field: ", stringify!(ImVec4), "::", stringify!(z))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImVec4>())).w as *const _ as usize },
|
|
|
|
12usize,
|
|
|
|
concat!("Offset of field: ", stringify!(ImVec4), "::", stringify!(w))
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImDrawCmd {
|
|
|
|
pub ClipRect: ImVec4,
|
|
|
|
pub TextureId: ImTextureID,
|
|
|
|
pub VtxOffset: ::std::os::raw::c_uint,
|
|
|
|
pub IdxOffset: ::std::os::raw::c_uint,
|
|
|
|
pub ElemCount: ::std::os::raw::c_uint,
|
|
|
|
pub UserCallback: ImDrawCallback,
|
|
|
|
pub UserCallbackData: *mut ::std::os::raw::c_void,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImDrawCmd() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImDrawCmd>(),
|
|
|
|
56usize,
|
|
|
|
concat!("Size of: ", stringify!(ImDrawCmd))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImDrawCmd>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImDrawCmd))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).ClipRect as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
2020-08-03 19:50:03 +00:00
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ClipRect)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).TextureId as *const _ as usize },
|
|
|
|
16usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(TextureId)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).VtxOffset as *const _ as usize },
|
|
|
|
24usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(VtxOffset)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).IdxOffset as *const _ as usize },
|
|
|
|
28usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(IdxOffset)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).ElemCount as *const _ as usize },
|
|
|
|
32usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ElemCount)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).UserCallback as *const _ as usize },
|
|
|
|
40usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(UserCallback)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawCmd>())).UserCallbackData as *const _ as usize },
|
|
|
|
48usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawCmd),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(UserCallbackData)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImDrawVert {
|
|
|
|
pub pos: ImVec2,
|
|
|
|
pub uv: ImVec2,
|
|
|
|
pub col: ImU32,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImDrawVert() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImDrawVert>(),
|
|
|
|
20usize,
|
|
|
|
concat!("Size of: ", stringify!(ImDrawVert))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImDrawVert>(),
|
|
|
|
4usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImDrawVert))
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawVert>())).pos as *const _ as usize },
|
|
|
|
0usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawVert),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(pos)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawVert>())).uv as *const _ as usize },
|
|
|
|
8usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawVert),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(uv)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawVert>())).col as *const _ as usize },
|
|
|
|
16usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawVert),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(col)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImDrawChannel {
|
|
|
|
pub _CmdBuffer: ImVector_ImDrawCmd,
|
|
|
|
pub _IdxBuffer: ImVector_ImDrawIdx,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImDrawChannel() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImDrawChannel>(),
|
|
|
|
32usize,
|
|
|
|
concat!("Size of: ", stringify!(ImDrawChannel))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImDrawChannel>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImDrawChannel))
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawChannel>()))._CmdBuffer as *const _ as usize },
|
|
|
|
0usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawChannel),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(_CmdBuffer)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawChannel>()))._IdxBuffer as *const _ as usize },
|
|
|
|
16usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawChannel),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(_IdxBuffer)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImDrawListSplitter {
|
|
|
|
pub _Current: ::std::os::raw::c_int,
|
|
|
|
pub _Count: ::std::os::raw::c_int,
|
|
|
|
pub _Channels: ImVector_ImDrawChannel,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImDrawListSplitter() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImDrawListSplitter>(),
|
|
|
|
24usize,
|
|
|
|
concat!("Size of: ", stringify!(ImDrawListSplitter))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImDrawListSplitter>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImDrawListSplitter))
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawListSplitter>()))._Current as *const _ as usize },
|
|
|
|
0usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawListSplitter),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(_Current)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawListSplitter>()))._Count as *const _ as usize },
|
|
|
|
4usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawListSplitter),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(_Count)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawListSplitter>()))._Channels as *const _ as usize },
|
|
|
|
8usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawListSplitter),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(_Channels)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImDrawList {
|
|
|
|
pub CmdBuffer: ImVector_ImDrawCmd,
|
|
|
|
pub IdxBuffer: ImVector_ImDrawIdx,
|
|
|
|
pub VtxBuffer: ImVector_ImDrawVert,
|
|
|
|
pub Flags: ImDrawListFlags,
|
|
|
|
pub _Data: *const ImDrawListSharedData,
|
|
|
|
pub _OwnerName: *const ::std::os::raw::c_char,
|
|
|
|
pub _VtxCurrentIdx: ::std::os::raw::c_uint,
|
|
|
|
pub _VtxWritePtr: *mut ImDrawVert,
|
|
|
|
pub _IdxWritePtr: *mut ImDrawIdx,
|
|
|
|
pub _ClipRectStack: ImVector_ImVec4,
|
|
|
|
pub _TextureIdStack: ImVector_ImTextureID,
|
|
|
|
pub _Path: ImVector_ImVec2,
|
|
|
|
pub _CmdHeader: ImDrawCmd,
|
|
|
|
pub _Splitter: ImDrawListSplitter,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImDrawList() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImDrawList>(),
|
|
|
|
224usize,
|
|
|
|
concat!("Size of: ", stringify!(ImDrawList))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImDrawList>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImDrawList))
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>())).CmdBuffer as *const _ as usize },
|
|
|
|
0usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawList),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(CmdBuffer)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>())).IdxBuffer as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
16usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawList),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(IdxBuffer)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>())).VtxBuffer as *const _ as usize },
|
|
|
|
32usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawList),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(VtxBuffer)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-26 17:54:48 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>())).Flags as *const _ as usize },
|
|
|
|
48usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(ImDrawList),
|
2020-08-03 19:50:03 +00:00
|
|
|
"::",
|
2020-10-26 17:54:48 +00:00
|
|
|
stringify!(Flags)
|
2020-08-03 19:50:03 +00:00
|
|
|
)
|
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._Data as *const _ as usize },
|
|
|
|
56usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_Data)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._OwnerName as *const _ as usize },
|
|
|
|
64usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_OwnerName)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._VtxCurrentIdx as *const _ as usize },
|
|
|
|
72usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_VtxCurrentIdx)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._VtxWritePtr as *const _ as usize },
|
|
|
|
80usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_VtxWritePtr)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._IdxWritePtr as *const _ as usize },
|
|
|
|
88usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_IdxWritePtr)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._ClipRectStack as *const _ as usize },
|
|
|
|
96usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_ClipRectStack)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._TextureIdStack as *const _ as usize },
|
|
|
|
112usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_TextureIdStack)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._Path as *const _ as usize },
|
|
|
|
128usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_Path)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._CmdHeader as *const _ as usize },
|
|
|
|
144usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_CmdHeader)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
2020-10-26 17:54:48 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImDrawList>()))._Splitter as *const _ as usize },
|
|
|
|
200usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImDrawList),
|
|
|
|
"::",
|
|
|
|
stringify!(_Splitter)
|
|
|
|
)
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
2020-10-04 12:43:18 +00:00
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImPlotContext {
|
|
|
|
_unused: [u8; 0],
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
pub type ImPlotFlags = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotAxisFlags = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotCol = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotStyleVar = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotMarker = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotColormap = ::std::os::raw::c_int;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImPlotLocation = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotOrientation = ::std::os::raw::c_int;
|
|
|
|
pub type ImPlotYAxis = ::std::os::raw::c_int;
|
2020-10-04 12:43:18 +00:00
|
|
|
pub const ImPlotFlags__ImPlotFlags_None: ImPlotFlags_ = 0;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_NoLegend: ImPlotFlags_ = 1;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_NoMenus: ImPlotFlags_ = 2;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_NoBoxSelect: ImPlotFlags_ = 4;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_NoMousePos: ImPlotFlags_ = 8;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_NoHighlight: ImPlotFlags_ = 16;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_NoChild: ImPlotFlags_ = 32;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_YAxis2: ImPlotFlags_ = 64;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_YAxis3: ImPlotFlags_ = 128;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_Query: ImPlotFlags_ = 256;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_Crosshairs: ImPlotFlags_ = 512;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_AntiAliased: ImPlotFlags_ = 1024;
|
|
|
|
pub const ImPlotFlags__ImPlotFlags_CanvasOnly: ImPlotFlags_ = 15;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImPlotFlags_ = ::std::os::raw::c_uint;
|
2020-10-04 12:43:18 +00:00
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_None: ImPlotAxisFlags_ = 0;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_NoGridLines: ImPlotAxisFlags_ = 1;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_NoTickMarks: ImPlotAxisFlags_ = 2;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_NoTickLabels: ImPlotAxisFlags_ = 4;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_LogScale: ImPlotAxisFlags_ = 8;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_Time: ImPlotAxisFlags_ = 16;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_Invert: ImPlotAxisFlags_ = 32;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_LockMin: ImPlotAxisFlags_ = 64;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_LockMax: ImPlotAxisFlags_ = 128;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_Lock: ImPlotAxisFlags_ = 192;
|
|
|
|
pub const ImPlotAxisFlags__ImPlotAxisFlags_NoDecorations: ImPlotAxisFlags_ = 7;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImPlotAxisFlags_ = ::std::os::raw::c_uint;
|
2020-08-03 19:50:03 +00:00
|
|
|
pub const ImPlotCol__ImPlotCol_Line: ImPlotCol_ = 0;
|
|
|
|
pub const ImPlotCol__ImPlotCol_Fill: ImPlotCol_ = 1;
|
|
|
|
pub const ImPlotCol__ImPlotCol_MarkerOutline: ImPlotCol_ = 2;
|
|
|
|
pub const ImPlotCol__ImPlotCol_MarkerFill: ImPlotCol_ = 3;
|
|
|
|
pub const ImPlotCol__ImPlotCol_ErrorBar: ImPlotCol_ = 4;
|
|
|
|
pub const ImPlotCol__ImPlotCol_FrameBg: ImPlotCol_ = 5;
|
|
|
|
pub const ImPlotCol__ImPlotCol_PlotBg: ImPlotCol_ = 6;
|
|
|
|
pub const ImPlotCol__ImPlotCol_PlotBorder: ImPlotCol_ = 7;
|
2020-10-04 12:43:18 +00:00
|
|
|
pub const ImPlotCol__ImPlotCol_LegendBg: ImPlotCol_ = 8;
|
|
|
|
pub const ImPlotCol__ImPlotCol_LegendBorder: ImPlotCol_ = 9;
|
|
|
|
pub const ImPlotCol__ImPlotCol_LegendText: ImPlotCol_ = 10;
|
|
|
|
pub const ImPlotCol__ImPlotCol_TitleText: ImPlotCol_ = 11;
|
|
|
|
pub const ImPlotCol__ImPlotCol_InlayText: ImPlotCol_ = 12;
|
|
|
|
pub const ImPlotCol__ImPlotCol_XAxis: ImPlotCol_ = 13;
|
|
|
|
pub const ImPlotCol__ImPlotCol_XAxisGrid: ImPlotCol_ = 14;
|
|
|
|
pub const ImPlotCol__ImPlotCol_YAxis: ImPlotCol_ = 15;
|
|
|
|
pub const ImPlotCol__ImPlotCol_YAxisGrid: ImPlotCol_ = 16;
|
|
|
|
pub const ImPlotCol__ImPlotCol_YAxis2: ImPlotCol_ = 17;
|
|
|
|
pub const ImPlotCol__ImPlotCol_YAxisGrid2: ImPlotCol_ = 18;
|
|
|
|
pub const ImPlotCol__ImPlotCol_YAxis3: ImPlotCol_ = 19;
|
|
|
|
pub const ImPlotCol__ImPlotCol_YAxisGrid3: ImPlotCol_ = 20;
|
|
|
|
pub const ImPlotCol__ImPlotCol_Selection: ImPlotCol_ = 21;
|
|
|
|
pub const ImPlotCol__ImPlotCol_Query: ImPlotCol_ = 22;
|
|
|
|
pub const ImPlotCol__ImPlotCol_Crosshairs: ImPlotCol_ = 23;
|
|
|
|
pub const ImPlotCol__ImPlotCol_COUNT: ImPlotCol_ = 24;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImPlotCol_ = ::std::os::raw::c_uint;
|
2020-08-03 19:50:03 +00:00
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_LineWeight: ImPlotStyleVar_ = 0;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_Marker: ImPlotStyleVar_ = 1;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MarkerSize: ImPlotStyleVar_ = 2;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MarkerWeight: ImPlotStyleVar_ = 3;
|
2020-10-04 12:43:18 +00:00
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_FillAlpha: ImPlotStyleVar_ = 4;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_ErrorBarSize: ImPlotStyleVar_ = 5;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_ErrorBarWeight: ImPlotStyleVar_ = 6;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_DigitalBitHeight: ImPlotStyleVar_ = 7;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_DigitalBitGap: ImPlotStyleVar_ = 8;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_PlotBorderSize: ImPlotStyleVar_ = 9;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MinorAlpha: ImPlotStyleVar_ = 10;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MajorTickLen: ImPlotStyleVar_ = 11;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MinorTickLen: ImPlotStyleVar_ = 12;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MajorTickSize: ImPlotStyleVar_ = 13;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MinorTickSize: ImPlotStyleVar_ = 14;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MajorGridSize: ImPlotStyleVar_ = 15;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MinorGridSize: ImPlotStyleVar_ = 16;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_PlotPadding: ImPlotStyleVar_ = 17;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_LabelPadding: ImPlotStyleVar_ = 18;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_LegendPadding: ImPlotStyleVar_ = 19;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_LegendInnerPadding: ImPlotStyleVar_ = 20;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_LegendSpacing: ImPlotStyleVar_ = 21;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_MousePosPadding: ImPlotStyleVar_ = 22;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_AnnotationPadding: ImPlotStyleVar_ = 23;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_PlotDefaultSize: ImPlotStyleVar_ = 24;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_PlotMinSize: ImPlotStyleVar_ = 25;
|
|
|
|
pub const ImPlotStyleVar__ImPlotStyleVar_COUNT: ImPlotStyleVar_ = 26;
|
|
|
|
pub type ImPlotStyleVar_ = ::std::os::raw::c_uint;
|
2020-10-04 12:43:18 +00:00
|
|
|
pub const ImPlotMarker__ImPlotMarker_None: ImPlotMarker_ = -1;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Circle: ImPlotMarker_ = 0;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Square: ImPlotMarker_ = 1;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Diamond: ImPlotMarker_ = 2;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Up: ImPlotMarker_ = 3;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Down: ImPlotMarker_ = 4;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Left: ImPlotMarker_ = 5;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Right: ImPlotMarker_ = 6;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Cross: ImPlotMarker_ = 7;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Plus: ImPlotMarker_ = 8;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_Asterisk: ImPlotMarker_ = 9;
|
|
|
|
pub const ImPlotMarker__ImPlotMarker_COUNT: ImPlotMarker_ = 10;
|
2020-10-26 17:54:48 +00:00
|
|
|
pub type ImPlotMarker_ = ::std::os::raw::c_int;
|
2020-08-03 19:50:03 +00:00
|
|
|
pub const ImPlotColormap__ImPlotColormap_Default: ImPlotColormap_ = 0;
|
2020-10-04 12:43:18 +00:00
|
|
|
pub const ImPlotColormap__ImPlotColormap_Deep: ImPlotColormap_ = 1;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Dark: ImPlotColormap_ = 2;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Pastel: ImPlotColormap_ = 3;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Paired: ImPlotColormap_ = 4;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Viridis: ImPlotColormap_ = 5;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Plasma: ImPlotColormap_ = 6;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Hot: ImPlotColormap_ = 7;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Cool: ImPlotColormap_ = 8;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Pink: ImPlotColormap_ = 9;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_Jet: ImPlotColormap_ = 10;
|
|
|
|
pub const ImPlotColormap__ImPlotColormap_COUNT: ImPlotColormap_ = 11;
|
2020-10-31 10:04:13 +00:00
|
|
|
pub type ImPlotColormap_ = ::std::os::raw::c_uint;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_Center: ImPlotLocation_ = 0;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_North: ImPlotLocation_ = 1;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_South: ImPlotLocation_ = 2;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_West: ImPlotLocation_ = 4;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_East: ImPlotLocation_ = 8;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_NorthWest: ImPlotLocation_ = 5;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_NorthEast: ImPlotLocation_ = 9;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_SouthWest: ImPlotLocation_ = 6;
|
|
|
|
pub const ImPlotLocation__ImPlotLocation_SouthEast: ImPlotLocation_ = 10;
|
|
|
|
pub type ImPlotLocation_ = ::std::os::raw::c_uint;
|
|
|
|
pub const ImPlotOrientation__ImPlotOrientation_Horizontal: ImPlotOrientation_ = 0;
|
|
|
|
pub const ImPlotOrientation__ImPlotOrientation_Vertical: ImPlotOrientation_ = 1;
|
|
|
|
pub type ImPlotOrientation_ = ::std::os::raw::c_uint;
|
|
|
|
pub const ImPlotYAxis__ImPlotYAxis_1: ImPlotYAxis_ = 0;
|
|
|
|
pub const ImPlotYAxis__ImPlotYAxis_2: ImPlotYAxis_ = 1;
|
|
|
|
pub const ImPlotYAxis__ImPlotYAxis_3: ImPlotYAxis_ = 2;
|
|
|
|
pub type ImPlotYAxis_ = ::std::os::raw::c_uint;
|
2020-08-03 19:50:03 +00:00
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImPlotPoint {
|
|
|
|
pub x: f64,
|
|
|
|
pub y: f64,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImPlotPoint() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImPlotPoint>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImPlotPoint))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImPlotPoint>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImPlotPoint))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotPoint>())).x as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotPoint),
|
|
|
|
"::",
|
|
|
|
stringify!(x)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotPoint>())).y as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotPoint),
|
|
|
|
"::",
|
|
|
|
stringify!(y)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImPlotRange {
|
|
|
|
pub Min: f64,
|
|
|
|
pub Max: f64,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImPlotRange() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImPlotRange>(),
|
|
|
|
16usize,
|
|
|
|
concat!("Size of: ", stringify!(ImPlotRange))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImPlotRange>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImPlotRange))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotRange>())).Min as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotRange),
|
|
|
|
"::",
|
|
|
|
stringify!(Min)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotRange>())).Max as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotRange),
|
|
|
|
"::",
|
|
|
|
stringify!(Max)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImPlotLimits {
|
|
|
|
pub X: ImPlotRange,
|
|
|
|
pub Y: ImPlotRange,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImPlotLimits() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImPlotLimits>(),
|
|
|
|
32usize,
|
|
|
|
concat!("Size of: ", stringify!(ImPlotLimits))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImPlotLimits>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImPlotLimits))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotLimits>())).X as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotLimits),
|
|
|
|
"::",
|
|
|
|
stringify!(X)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotLimits>())).Y as *const _ as usize },
|
|
|
|
16usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotLimits),
|
|
|
|
"::",
|
|
|
|
stringify!(Y)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImPlotStyle {
|
|
|
|
pub LineWeight: f32,
|
2020-10-04 12:43:18 +00:00
|
|
|
pub Marker: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
pub MarkerSize: f32,
|
|
|
|
pub MarkerWeight: f32,
|
2020-10-04 12:43:18 +00:00
|
|
|
pub FillAlpha: f32,
|
2020-08-03 19:50:03 +00:00
|
|
|
pub ErrorBarSize: f32,
|
|
|
|
pub ErrorBarWeight: f32,
|
|
|
|
pub DigitalBitHeight: f32,
|
|
|
|
pub DigitalBitGap: f32,
|
2020-10-04 12:43:18 +00:00
|
|
|
pub PlotBorderSize: f32,
|
|
|
|
pub MinorAlpha: f32,
|
|
|
|
pub MajorTickLen: ImVec2,
|
|
|
|
pub MinorTickLen: ImVec2,
|
|
|
|
pub MajorTickSize: ImVec2,
|
|
|
|
pub MinorTickSize: ImVec2,
|
|
|
|
pub MajorGridSize: ImVec2,
|
|
|
|
pub MinorGridSize: ImVec2,
|
|
|
|
pub PlotPadding: ImVec2,
|
|
|
|
pub LabelPadding: ImVec2,
|
|
|
|
pub LegendPadding: ImVec2,
|
2020-10-31 10:04:13 +00:00
|
|
|
pub LegendInnerPadding: ImVec2,
|
|
|
|
pub LegendSpacing: ImVec2,
|
|
|
|
pub MousePosPadding: ImVec2,
|
|
|
|
pub AnnotationPadding: ImVec2,
|
|
|
|
pub PlotDefaultSize: ImVec2,
|
2020-10-04 12:43:18 +00:00
|
|
|
pub PlotMinSize: ImVec2,
|
|
|
|
pub Colors: [ImVec4; 24usize],
|
|
|
|
pub AntiAliasedLines: bool,
|
|
|
|
pub UseLocalTime: bool,
|
2020-10-31 10:04:13 +00:00
|
|
|
pub UseISO8601: bool,
|
|
|
|
pub Use24HourClock: bool,
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImPlotStyle() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImPlotStyle>(),
|
2020-10-31 10:04:13 +00:00
|
|
|
552usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!("Size of: ", stringify!(ImPlotStyle))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImPlotStyle>(),
|
|
|
|
4usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImPlotStyle))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).LineWeight as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(LineWeight)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).Marker as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(Marker)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MarkerSize as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MarkerSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MarkerWeight as *const _ as usize },
|
|
|
|
12usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MarkerWeight)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-04 12:43:18 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).FillAlpha as *const _ as usize },
|
2020-08-03 19:50:03 +00:00
|
|
|
16usize,
|
2020-10-04 12:43:18 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(FillAlpha)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).ErrorBarSize as *const _ as usize },
|
|
|
|
20usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(ErrorBarSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).ErrorBarWeight as *const _ as usize },
|
2020-10-04 12:43:18 +00:00
|
|
|
24usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(ErrorBarWeight)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).DigitalBitHeight as *const _ as usize },
|
2020-10-04 12:43:18 +00:00
|
|
|
28usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(DigitalBitHeight)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).DigitalBitGap as *const _ as usize },
|
2020-10-04 12:43:18 +00:00
|
|
|
32usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(DigitalBitGap)
|
|
|
|
)
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).PlotBorderSize as *const _ as usize },
|
|
|
|
36usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(PlotBorderSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MinorAlpha as *const _ as usize },
|
|
|
|
40usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MinorAlpha)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MajorTickLen as *const _ as usize },
|
|
|
|
44usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MajorTickLen)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MinorTickLen as *const _ as usize },
|
|
|
|
52usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MinorTickLen)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MajorTickSize as *const _ as usize },
|
|
|
|
60usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MajorTickSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MinorTickSize as *const _ as usize },
|
|
|
|
68usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MinorTickSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MajorGridSize as *const _ as usize },
|
|
|
|
76usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MajorGridSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MinorGridSize as *const _ as usize },
|
|
|
|
84usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MinorGridSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).PlotPadding as *const _ as usize },
|
|
|
|
92usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(PlotPadding)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).LabelPadding as *const _ as usize },
|
|
|
|
100usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(LabelPadding)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).LegendPadding as *const _ as usize },
|
|
|
|
108usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(LegendPadding)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-31 10:04:13 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).LegendInnerPadding as *const _ as usize },
|
2020-10-04 12:43:18 +00:00
|
|
|
116usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
2020-10-31 10:04:13 +00:00
|
|
|
stringify!(LegendInnerPadding)
|
2020-10-04 12:43:18 +00:00
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
2020-10-31 10:04:13 +00:00
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).LegendSpacing as *const _ as usize },
|
2020-10-04 12:43:18 +00:00
|
|
|
124usize,
|
2020-10-31 10:04:13 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(LegendSpacing)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).MousePosPadding as *const _ as usize },
|
|
|
|
132usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(MousePosPadding)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).AnnotationPadding as *const _ as usize },
|
|
|
|
140usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(AnnotationPadding)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).PlotDefaultSize as *const _ as usize },
|
|
|
|
148usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(PlotDefaultSize)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).PlotMinSize as *const _ as usize },
|
|
|
|
156usize,
|
2020-10-04 12:43:18 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(PlotMinSize)
|
|
|
|
)
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).Colors as *const _ as usize },
|
2020-10-31 10:04:13 +00:00
|
|
|
164usize,
|
2020-08-03 19:50:03 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(Colors)
|
|
|
|
)
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).AntiAliasedLines as *const _ as usize },
|
2020-10-31 10:04:13 +00:00
|
|
|
548usize,
|
2020-10-04 12:43:18 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(AntiAliasedLines)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).UseLocalTime as *const _ as usize },
|
2020-10-31 10:04:13 +00:00
|
|
|
549usize,
|
2020-10-04 12:43:18 +00:00
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(UseLocalTime)
|
|
|
|
)
|
|
|
|
);
|
2020-10-31 10:04:13 +00:00
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).UseISO8601 as *const _ as usize },
|
|
|
|
550usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(UseISO8601)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotStyle>())).Use24HourClock as *const _ as usize },
|
|
|
|
551usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotStyle),
|
|
|
|
"::",
|
|
|
|
stringify!(Use24HourClock)
|
|
|
|
)
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct ImPlotInputMap {
|
|
|
|
pub PanButton: ImGuiMouseButton,
|
|
|
|
pub PanMod: ImGuiKeyModFlags,
|
|
|
|
pub FitButton: ImGuiMouseButton,
|
|
|
|
pub ContextMenuButton: ImGuiMouseButton,
|
|
|
|
pub BoxSelectButton: ImGuiMouseButton,
|
|
|
|
pub BoxSelectMod: ImGuiKeyModFlags,
|
|
|
|
pub BoxSelectCancelButton: ImGuiMouseButton,
|
|
|
|
pub QueryButton: ImGuiMouseButton,
|
|
|
|
pub QueryMod: ImGuiKeyModFlags,
|
|
|
|
pub QueryToggleMod: ImGuiKeyModFlags,
|
|
|
|
pub HorizontalMod: ImGuiKeyModFlags,
|
|
|
|
pub VerticalMod: ImGuiKeyModFlags,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout_ImPlotInputMap() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<ImPlotInputMap>(),
|
|
|
|
48usize,
|
|
|
|
concat!("Size of: ", stringify!(ImPlotInputMap))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<ImPlotInputMap>(),
|
|
|
|
4usize,
|
|
|
|
concat!("Alignment of ", stringify!(ImPlotInputMap))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).PanButton as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(PanButton)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).PanMod as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(PanMod)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).FitButton as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(FitButton)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe {
|
|
|
|
&(*(::std::ptr::null::<ImPlotInputMap>())).ContextMenuButton as *const _ as usize
|
|
|
|
},
|
|
|
|
12usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(ContextMenuButton)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).BoxSelectButton as *const _ as usize },
|
|
|
|
16usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(BoxSelectButton)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).BoxSelectMod as *const _ as usize },
|
|
|
|
20usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(BoxSelectMod)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe {
|
|
|
|
&(*(::std::ptr::null::<ImPlotInputMap>())).BoxSelectCancelButton as *const _ as usize
|
|
|
|
},
|
|
|
|
24usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(BoxSelectCancelButton)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).QueryButton as *const _ as usize },
|
|
|
|
28usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(QueryButton)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).QueryMod as *const _ as usize },
|
|
|
|
32usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(QueryMod)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).QueryToggleMod as *const _ as usize },
|
|
|
|
36usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(QueryToggleMod)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).HorizontalMod as *const _ as usize },
|
|
|
|
40usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(HorizontalMod)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<ImPlotInputMap>())).VerticalMod as *const _ as usize },
|
|
|
|
44usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(ImPlotInputMap),
|
|
|
|
"::",
|
|
|
|
stringify!(VerticalMod)
|
|
|
|
)
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotPoint_ImPlotPointNil() -> *mut ImPlotPoint;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotPoint_destroy(self_: *mut ImPlotPoint);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotPoint_ImPlotPointdouble(_x: f64, _y: f64) -> *mut ImPlotPoint;
|
|
|
|
}
|
2020-10-31 10:04:13 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotPoint_ImPlotPointVec2(p: ImVec2) -> *mut ImPlotPoint;
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlotRange_ImPlotRangeNil() -> *mut ImPlotRange;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotRange_destroy(self_: *mut ImPlotRange);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlotRange_ImPlotRangedouble(_min: f64, _max: f64) -> *mut ImPlotRange;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlotRange_Contains(self_: *mut ImPlotRange, value: f64) -> bool;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlotRange_Size(self_: *mut ImPlotRange) -> f64;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotLimits_ContainsPlotPoInt(self_: *mut ImPlotLimits, p: ImPlotPoint) -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotLimits_Containsdouble(self_: *mut ImPlotLimits, x: f64, y: f64) -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotStyle_ImPlotStyle() -> *mut ImPlotStyle;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotStyle_destroy(self_: *mut ImPlotStyle);
|
|
|
|
}
|
2020-10-04 12:43:18 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotInputMap_ImPlotInputMap() -> *mut ImPlotInputMap;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlotInputMap_destroy(self_: *mut ImPlotInputMap);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_CreateContext() -> *mut ImPlotContext;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_DestroyContext(ctx: *mut ImPlotContext);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetCurrentContext() -> *mut ImPlotContext;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetCurrentContext(ctx: *mut ImPlotContext);
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_BeginPlot(
|
|
|
|
title_id: *const ::std::os::raw::c_char,
|
|
|
|
x_label: *const ::std::os::raw::c_char,
|
|
|
|
y_label: *const ::std::os::raw::c_char,
|
|
|
|
size: ImVec2,
|
|
|
|
flags: ImPlotFlags,
|
|
|
|
x_flags: ImPlotAxisFlags,
|
|
|
|
y_flags: ImPlotAxisFlags,
|
|
|
|
y2_flags: ImPlotAxisFlags,
|
|
|
|
y3_flags: ImPlotAxisFlags,
|
|
|
|
) -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlot_EndPlot();
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotLineFloatPtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotLinedoublePtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS8PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS8,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU8PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU8,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS16PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS16,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU16PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU16,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS32PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS32,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU32PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS64PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotLineFloatPtrFloatPtr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLinedoublePtrdoublePtr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS8PtrS8Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU8PtrU8Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS16PtrS16Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU16PtrU16Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS32PtrS32Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU32PtrU32Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineS64PtrS64Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineU64PtrU64Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-04 12:43:18 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterFloatPtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const f32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-04 12:43:18 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterdoublePtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotScatterS8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU8PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU8,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS16PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU16PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS32PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU32PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS64PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU64PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterFloatPtrFloatPtr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterdoublePtrdoublePtr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS8PtrS8Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU8PtrU8Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS16PtrS16Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU16PtrU16Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS32PtrS32Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU32PtrU32Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterS64PtrS64Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterU64PtrU64Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsFloatPtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const f32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
2020-10-04 12:43:18 +00:00
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsdoublePtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsS8PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS8,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsU8PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU8,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsS16PtrInt(
|
2020-10-04 12:43:18 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS16,
|
2020-10-04 12:43:18 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
2020-10-04 12:43:18 +00:00
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsU16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsS32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsU32PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotStairsS64PtrInt(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
values: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStairsG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedFloatPtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadeddoublePtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS8PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU8PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS16PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU16PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS32PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU32PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS64PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU64PtrIntdoubledoubleInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedFloatPtrFloatPtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadeddoublePtrdoublePtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS8PtrS8PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU8PtrU8PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS16PtrS16PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU16PtrU16PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS32PtrS32PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU32PtrU32PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS64PtrS64PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU64PtrU64PtrIntInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedFloatPtrFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys1: *const f32,
|
|
|
|
ys2: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadeddoublePtrdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys1: *const f64,
|
|
|
|
ys2: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS8PtrS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys1: *const ImS8,
|
|
|
|
ys2: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU8PtrU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys1: *const ImU8,
|
|
|
|
ys2: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS16PtrS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys1: *const ImS16,
|
|
|
|
ys2: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU16PtrU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys1: *const ImU16,
|
|
|
|
ys2: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS32PtrS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys1: *const ImS32,
|
|
|
|
ys2: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU32PtrU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys1: *const ImU32,
|
|
|
|
ys2: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedS64PtrS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys1: *const ImS64,
|
|
|
|
ys2: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedU64PtrU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys1: *const ImU64,
|
|
|
|
ys2: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsFloatPtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsdoublePtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHFloatPtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHdoublePtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
shift: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsFloatPtrFloatPtrFloatPtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
err: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsdoublePtrdoublePtrdoublePtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
err: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS8PtrS8PtrS8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
err: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU8PtrU8PtrU8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
err: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS16PtrS16PtrS16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
err: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU16PtrU16PtrU16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
err: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS32PtrS32PtrS32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
err: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU32PtrU32PtrU32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
err: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS64PtrS64PtrS64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
err: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU64PtrU64PtrU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
err: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsFloatPtrFloatPtrFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
neg: *const f32,
|
|
|
|
pos: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsdoublePtrdoublePtrdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
neg: *const f64,
|
|
|
|
pos: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS8PtrS8PtrS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
neg: *const ImS8,
|
|
|
|
pos: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU8PtrU8PtrU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
neg: *const ImU8,
|
|
|
|
pos: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS16PtrS16PtrS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
neg: *const ImS16,
|
|
|
|
pos: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU16PtrU16PtrU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
neg: *const ImU16,
|
|
|
|
pos: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS32PtrS32PtrS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
neg: *const ImS32,
|
|
|
|
pos: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU32PtrU32PtrU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
neg: *const ImU32,
|
|
|
|
pos: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsS64PtrS64PtrS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
neg: *const ImS64,
|
|
|
|
pos: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsU64PtrU64PtrU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
neg: *const ImU64,
|
|
|
|
pos: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHFloatPtrFloatPtrFloatPtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
err: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHdoublePtrdoublePtrdoublePtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
err: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS8PtrS8PtrS8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
err: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU8PtrU8PtrU8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
err: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS16PtrS16PtrS16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
err: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU16PtrU16PtrU16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
err: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS32PtrS32PtrS32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
err: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU32PtrU32PtrU32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
err: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS64PtrS64PtrS64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
err: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU64PtrU64PtrU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
err: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHFloatPtrFloatPtrFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
neg: *const f32,
|
|
|
|
pos: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHdoublePtrdoublePtrdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
neg: *const f64,
|
|
|
|
pos: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS8PtrS8PtrS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
neg: *const ImS8,
|
|
|
|
pos: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU8PtrU8PtrU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
neg: *const ImU8,
|
|
|
|
pos: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS16PtrS16PtrS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
neg: *const ImS16,
|
|
|
|
pos: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU16PtrU16PtrU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
neg: *const ImU16,
|
|
|
|
pos: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS32PtrS32PtrS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
neg: *const ImS32,
|
|
|
|
pos: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU32PtrU32PtrU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
neg: *const ImU32,
|
|
|
|
pos: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHS64PtrS64PtrS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
neg: *const ImS64,
|
|
|
|
pos: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotErrorBarsHU64PtrU64PtrU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
neg: *const ImU64,
|
|
|
|
pos: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsFloatPtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsdoublePtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU8PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU16PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU32PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU64PtrInt(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
xscale: f64,
|
|
|
|
x0: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsFloatPtrFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsdoublePtrdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS8PtrS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU8PtrU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS16PtrS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU16PtrU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS32PtrS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU32PtrU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsS64PtrS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotStemsU64PtrU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
y_ref: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartFloatPtr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartdoublePtr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartS8Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartU8Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartS16Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartU16Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartS32Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartU32Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartS64Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotPieChartU64Ptr(
|
|
|
|
label_ids: *const *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
radius: f64,
|
|
|
|
normalize: bool,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
angle0: f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f32,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapdoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const f64,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS8,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU8,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS16,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU16,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapS32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS32,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapU32Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU32,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapS64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImS64,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotHeatmapU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
values: *const ImU64,
|
|
|
|
rows: ::std::os::raw::c_int,
|
|
|
|
cols: ::std::os::raw::c_int,
|
|
|
|
scale_min: f64,
|
|
|
|
scale_max: f64,
|
2020-08-03 19:50:03 +00:00
|
|
|
label_fmt: *const ::std::os::raw::c_char,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotDigitalFloatPtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f32,
|
|
|
|
ys: *const f32,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitaldoublePtr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const f64,
|
|
|
|
ys: *const f64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitalS8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS8,
|
|
|
|
ys: *const ImS8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitalU8Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU8,
|
|
|
|
ys: *const ImU8,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitalS16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImS16,
|
|
|
|
ys: *const ImS16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitalU16Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU16,
|
|
|
|
ys: *const ImU16,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitalS32Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS32,
|
|
|
|
ys: *const ImS32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotDigitalU32Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImU32,
|
|
|
|
ys: *const ImU32,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotDigitalS64Ptr(
|
2020-08-03 19:50:03 +00:00
|
|
|
label_id: *const ::std::os::raw::c_char,
|
2020-10-31 10:04:13 +00:00
|
|
|
xs: *const ImS64,
|
|
|
|
ys: *const ImS64,
|
2020-08-03 19:50:03 +00:00
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
stride: ::std::os::raw::c_int,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotDigitalU64Ptr(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
xs: *const ImU64,
|
|
|
|
ys: *const ImU64,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
stride: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotImage(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
user_texture_id: ImTextureID,
|
|
|
|
bounds_min: ImPlotPoint,
|
|
|
|
bounds_max: ImPlotPoint,
|
|
|
|
uv0: ImVec2,
|
|
|
|
uv1: ImVec2,
|
|
|
|
tint_col: ImVec4,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotText(
|
2020-08-03 19:50:03 +00:00
|
|
|
text: *const ::std::os::raw::c_char,
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
vertical: bool,
|
2020-10-31 10:04:13 +00:00
|
|
|
pix_offset: ImVec2,
|
2020-08-03 19:50:03 +00:00
|
|
|
);
|
|
|
|
}
|
2020-10-31 10:04:13 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDummy(label_id: *const ::std::os::raw::c_char);
|
|
|
|
}
|
2020-10-04 12:43:18 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextPlotLimits(xmin: f64, xmax: f64, ymin: f64, ymax: f64, cond: ImGuiCond);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextPlotLimitsX(xmin: f64, xmax: f64, cond: ImGuiCond);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_SetNextPlotLimitsY(ymin: f64, ymax: f64, cond: ImGuiCond, y_axis: ImPlotYAxis);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_LinkNextPlotLimits(
|
|
|
|
xmin: *mut f64,
|
|
|
|
xmax: *mut f64,
|
|
|
|
ymin: *mut f64,
|
|
|
|
ymax: *mut f64,
|
|
|
|
ymin2: *mut f64,
|
|
|
|
ymax2: *mut f64,
|
|
|
|
ymin3: *mut f64,
|
|
|
|
ymax3: *mut f64,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_FitNextPlotAxes(x: bool, y: bool, y2: bool, y3: bool);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextPlotTicksXdoublePtr(
|
|
|
|
values: *const f64,
|
|
|
|
n_ticks: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
labels: *const *const ::std::os::raw::c_char,
|
2020-10-04 12:43:18 +00:00
|
|
|
show_default: bool,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextPlotTicksXdouble(
|
|
|
|
x_min: f64,
|
|
|
|
x_max: f64,
|
|
|
|
n_ticks: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
labels: *const *const ::std::os::raw::c_char,
|
2020-10-04 12:43:18 +00:00
|
|
|
show_default: bool,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextPlotTicksYdoublePtr(
|
|
|
|
values: *const f64,
|
|
|
|
n_ticks: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
labels: *const *const ::std::os::raw::c_char,
|
2020-10-04 12:43:18 +00:00
|
|
|
show_default: bool,
|
2020-10-31 10:04:13 +00:00
|
|
|
y_axis: ImPlotYAxis,
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextPlotTicksYdouble(
|
|
|
|
y_min: f64,
|
|
|
|
y_max: f64,
|
|
|
|
n_ticks: ::std::os::raw::c_int,
|
2020-10-31 10:04:13 +00:00
|
|
|
labels: *const *const ::std::os::raw::c_char,
|
2020-10-04 12:43:18 +00:00
|
|
|
show_default: bool,
|
2020-10-31 10:04:13 +00:00
|
|
|
y_axis: ImPlotYAxis,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetPlotYAxis(y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_HideNextItem(hidden: bool, cond: ImGuiCond);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PixelsToPlotVec2(pOut: *mut ImPlotPoint, pix: ImVec2, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PixelsToPlotFloat(pOut: *mut ImPlotPoint, x: f32, y: f32, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotToPixelsPlotPoInt(pOut: *mut ImVec2, plt: ImPlotPoint, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotToPixelsdouble(pOut: *mut ImVec2, x: f64, y: f64, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetPlotPos(pOut: *mut ImVec2);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetPlotSize(pOut: *mut ImVec2);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_IsPlotHovered() -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_IsPlotXAxisHovered() -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_IsPlotYAxisHovered(y_axis: ImPlotYAxis) -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetPlotMousePos(pOut: *mut ImPlotPoint, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetPlotLimits(pOut: *mut ImPlotLimits, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_IsPlotQueried() -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetPlotQuery(pOut: *mut ImPlotLimits, y_axis: ImPlotYAxis);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_AnnotateStr(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
...
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateVec4(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
color: ImVec4,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
...
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateVStr(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
args: *mut __va_list_tag,
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateVVec4(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
color: ImVec4,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
args: *mut __va_list_tag,
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateClampedStr(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
...
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateClampedVec4(
|
2020-10-04 12:43:18 +00:00
|
|
|
x: f64,
|
|
|
|
y: f64,
|
2020-10-31 10:04:13 +00:00
|
|
|
pix_offset: ImVec2,
|
|
|
|
color: ImVec4,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
...
|
2020-10-04 12:43:18 +00:00
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateClampedVStr(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
args: *mut __va_list_tag,
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_AnnotateClampedVVec4(
|
|
|
|
x: f64,
|
|
|
|
y: f64,
|
|
|
|
pix_offset: ImVec2,
|
|
|
|
color: ImVec4,
|
|
|
|
fmt: *const ::std::os::raw::c_char,
|
|
|
|
args: *mut __va_list_tag,
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_DragLineX(
|
|
|
|
id: *const ::std::os::raw::c_char,
|
|
|
|
x_value: *mut f64,
|
|
|
|
show_label: bool,
|
|
|
|
col: ImVec4,
|
|
|
|
thickness: f32,
|
|
|
|
) -> bool;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_DragLineY(
|
|
|
|
id: *const ::std::os::raw::c_char,
|
|
|
|
y_value: *mut f64,
|
|
|
|
show_label: bool,
|
|
|
|
col: ImVec4,
|
|
|
|
thickness: f32,
|
|
|
|
) -> bool;
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_DragPoint(
|
|
|
|
id: *const ::std::os::raw::c_char,
|
|
|
|
x: *mut f64,
|
|
|
|
y: *mut f64,
|
|
|
|
show_label: bool,
|
|
|
|
col: ImVec4,
|
|
|
|
radius: f32,
|
|
|
|
) -> bool;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_SetLegendLocation(
|
|
|
|
location: ImPlotLocation,
|
|
|
|
orientation: ImPlotOrientation,
|
|
|
|
outside: bool,
|
|
|
|
);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_SetMousePosLocation(location: ImPlotLocation);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_IsLegendEntryHovered(label_id: *const ::std::os::raw::c_char) -> bool;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_BeginLegendDragDropSource(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
flags: ImGuiDragDropFlags,
|
|
|
|
) -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_EndLegendDragDropSource();
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_BeginLegendPopup(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
mouse_button: ImGuiMouseButton,
|
|
|
|
) -> bool;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_EndLegendPopup();
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetStyle() -> *mut ImPlotStyle;
|
|
|
|
}
|
2020-10-04 12:43:18 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_StyleColorsAuto(dst: *mut ImPlotStyle);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_StyleColorsClassic(dst: *mut ImPlotStyle);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_StyleColorsDark(dst: *mut ImPlotStyle);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_StyleColorsLight(dst: *mut ImPlotStyle);
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushStyleColorU32(idx: ImPlotCol, col: ImU32);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushStyleColorVec4(idx: ImPlotCol, col: ImVec4);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PopStyleColor(count: ::std::os::raw::c_int);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushStyleVarFloat(idx: ImPlotStyleVar, val: f32);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushStyleVarInt(idx: ImPlotStyleVar, val: ::std::os::raw::c_int);
|
|
|
|
}
|
2020-10-04 12:43:18 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushStyleVarVec2(idx: ImPlotStyleVar, val: ImVec2);
|
|
|
|
}
|
2020-08-03 19:50:03 +00:00
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PopStyleVar(count: ::std::os::raw::c_int);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlot_SetNextLineStyle(col: ImVec4, weight: f32);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextFillStyle(col: ImVec4, alpha_mod: f32);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextMarkerStyle(
|
|
|
|
marker: ImPlotMarker,
|
|
|
|
size: f32,
|
|
|
|
fill: ImVec4,
|
|
|
|
weight: f32,
|
|
|
|
outline: ImVec4,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetNextErrorBarStyle(col: ImVec4, size: f32, weight: f32);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_GetLastItemColor(pOut: *mut ImVec4);
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_GetStyleColorName(idx: ImPlotCol) -> *const ::std::os::raw::c_char;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetMarkerName(idx: ImPlotMarker) -> *const ::std::os::raw::c_char;
|
2020-10-04 12:43:18 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushColormapPlotColormap(colormap: ImPlotColormap);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PushColormapVec4Ptr(colormap: *const ImVec4, size: ::std::os::raw::c_int);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PopColormap(count: ::std::os::raw::c_int);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_SetColormapVec4Ptr(colormap: *const ImVec4, size: ::std::os::raw::c_int);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlot_SetColormapPlotColormap(colormap: ImPlotColormap, samples: ::std::os::raw::c_int);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetColormapSize() -> ::std::os::raw::c_int;
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_GetColormapColor(pOut: *mut ImVec4, index: ::std::os::raw::c_int);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_LerpColormap(pOut: *mut ImVec4, t: f32);
|
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlot_NextColormapColor(pOut: *mut ImVec4);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlot_ShowColormapScale(scale_min: f64, scale_max: f64, height: f32);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-04 12:43:18 +00:00
|
|
|
pub fn ImPlot_GetColormapName(colormap: ImPlotColormap) -> *const ::std::os::raw::c_char;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_GetInputMap() -> *mut ImPlotInputMap;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_GetPlotDrawList() -> *mut ImDrawList;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PushPlotClipRect();
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PopPlotClipRect();
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_ShowStyleSelector(label: *const ::std::os::raw::c_char) -> bool;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_ShowColormapSelector(label: *const ::std::os::raw::c_char) -> bool;
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_ShowStyleEditor(ref_: *mut ImPlotStyle);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_ShowUserGuide();
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_ShowMetricsWindow(p_popen: *mut bool);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_SetImGuiContext(ctx: *mut ImGuiContext);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_ShowDemoWindow(p_open: *mut bool);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotLineG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|
|
|
|
extern "C" {
|
2020-10-31 10:04:13 +00:00
|
|
|
pub fn ImPlot_PlotScatterG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotShadedG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter1: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data1: *mut ::std::os::raw::c_void,
|
|
|
|
getter2: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data2: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
width: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotBarsHG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
height: f64,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
pub fn ImPlot_PlotDigitalG(
|
|
|
|
label_id: *const ::std::os::raw::c_char,
|
|
|
|
getter: ::std::option::Option<
|
|
|
|
unsafe extern "C" fn(
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
idx: ::std::os::raw::c_int,
|
|
|
|
) -> *mut ImPlotPoint,
|
|
|
|
>,
|
|
|
|
data: *mut ::std::os::raw::c_void,
|
|
|
|
count: ::std::os::raw::c_int,
|
|
|
|
offset: ::std::os::raw::c_int,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
pub type __builtin_va_list = [__va_list_tag; 1usize];
|
|
|
|
#[repr(C)]
|
|
|
|
#[derive(Debug, Copy, Clone)]
|
|
|
|
pub struct __va_list_tag {
|
|
|
|
pub gp_offset: ::std::os::raw::c_uint,
|
|
|
|
pub fp_offset: ::std::os::raw::c_uint,
|
|
|
|
pub overflow_arg_area: *mut ::std::os::raw::c_void,
|
|
|
|
pub reg_save_area: *mut ::std::os::raw::c_void,
|
|
|
|
}
|
|
|
|
#[test]
|
|
|
|
fn bindgen_test_layout___va_list_tag() {
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::size_of::<__va_list_tag>(),
|
|
|
|
24usize,
|
|
|
|
concat!("Size of: ", stringify!(__va_list_tag))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
::std::mem::align_of::<__va_list_tag>(),
|
|
|
|
8usize,
|
|
|
|
concat!("Alignment of ", stringify!(__va_list_tag))
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).gp_offset as *const _ as usize },
|
|
|
|
0usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(__va_list_tag),
|
|
|
|
"::",
|
|
|
|
stringify!(gp_offset)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).fp_offset as *const _ as usize },
|
|
|
|
4usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(__va_list_tag),
|
|
|
|
"::",
|
|
|
|
stringify!(fp_offset)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).overflow_arg_area as *const _ as usize },
|
|
|
|
8usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(__va_list_tag),
|
|
|
|
"::",
|
|
|
|
stringify!(overflow_arg_area)
|
|
|
|
)
|
|
|
|
);
|
|
|
|
assert_eq!(
|
|
|
|
unsafe { &(*(::std::ptr::null::<__va_list_tag>())).reg_save_area as *const _ as usize },
|
|
|
|
16usize,
|
|
|
|
concat!(
|
|
|
|
"Offset of field: ",
|
|
|
|
stringify!(__va_list_tag),
|
|
|
|
"::",
|
|
|
|
stringify!(reg_save_area)
|
|
|
|
)
|
|
|
|
);
|
2020-08-03 19:50:03 +00:00
|
|
|
}
|