lv_std/unsafe_std/ptrs/
ptr_utils.rs1use typenum::assert_type_eq;
2
3#[macro_export]
4macro_rules! forbid_void {
5 ($other:ty) => {assert!(TypeId::of::<$other>() == TypeId::of::<crate::unsafe_std::ptrs::void::void>(), "void is not allowed in this context")};
6}
7
8pub enum PtrState {
9 Val,
10 Null
11}