mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-25 12:28:35 +00:00
Reformat
This commit is contained in:
parent
8d00cdb64c
commit
35f7ed9737
@ -29,10 +29,7 @@ fn test_imvector_memory_layout() {
|
|||||||
type VectorChar = ImVector<u8>;
|
type VectorChar = ImVector<u8>;
|
||||||
macro_rules! assert_field_offset {
|
macro_rules! assert_field_offset {
|
||||||
($l:ident, $r:ident) => {
|
($l:ident, $r:ident) => {
|
||||||
assert_eq!(
|
assert_eq!(offset_of!(VectorChar, $l), offset_of!(ImVector_char, $r));
|
||||||
offset_of!(VectorChar, $l),
|
|
||||||
offset_of!(ImVector_char, $r)
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
assert_field_offset!(size, Size);
|
assert_field_offset!(size, Size);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user