Function arceos_api::mem::ax_dealloc
source · pub fn ax_dealloc(ptr: NonNull<u8>, layout: Layout)
Available on crate feature
alloc
only.Expand description
Deallocate the memory block at the given ptr
pointer with the given
layout
, which should be allocated by ax_alloc
.