Function maskerad_memory_allocators::utils::bitpack_type_description_ptr
[−]
[src]
pub fn bitpack_type_description_ptr(
p: *const TypeDescription,
is_done: bool
) -> usize
Encode whether the object (described by a TypeDescription) has been initialized in the StackAllocator in the low bit of the TypeDescription pointer.
This is necessary in order to properly do cleanup if a panic occurs during an initializer.