mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 13:38: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>;
|
||||
macro_rules! assert_field_offset {
|
||||
($l:ident, $r:ident) => {
|
||||
assert_eq!(
|
||||
offset_of!(VectorChar, $l),
|
||||
offset_of!(ImVector_char, $r)
|
||||
);
|
||||
assert_eq!(offset_of!(VectorChar, $l), offset_of!(ImVector_char, $r));
|
||||
};
|
||||
};
|
||||
assert_field_offset!(size, Size);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user