Skip to main content

mapped_pointer

Function mapped_pointer 

Source
pub fn mapped_pointer(
    allocator: &Allocator<'_>,
    allocation: &Allocation,
) -> Result<Option<*mut c_void>, AllocError>
Expand description

Return a region pointer only if that region has an explicit or persistent hold. Does not map, acquire a hold, synchronize, or authorize pointer dereferences.