struct offset jetbrains bug, revert to macro rules
This commit is contained in:
@@ -91,7 +91,7 @@ impl<T: Debug, const O: usize> Debug for VirtualOffset<T, O> {
|
||||
#[macro_export]
|
||||
macro_rules! struct_offset {
|
||||
($offset:literal, $type:ty) => {
|
||||
$crate::sot::VirtualOffset<$type, $offset>
|
||||
$crate::pstruct::VirtualOffset<$type, $offset>
|
||||
}
|
||||
}
|
||||
pub use struct_offset;
|
||||
|
||||
Reference in New Issue
Block a user