#[no_mangle]
pub unsafe extern "C" fn nstd_alloc_heap_from_existing(
ptr: NSTDAny,
size: usize
) -> NSTDHeapExpand description
Creates a new heap object from a raw pointer without making any allocations.
Parameters
-
const NSTDAny ptr- A raw pointer to the heap object. -
const NSTDUSize size- The size of the heap object.
Returns
NSTDHeap obj - The new heap object.