#[unsafe(no_mangle)]pub extern "C" fn comet_heap_allocate(
heap: *mut Heap,
size: usize,
index: GCInfoIndex,
) -> *mut HeapObjectHeaderExpand description
Allocates memory and returns pointer. NULL is returned if no memory is available.
#[unsafe(no_mangle)]pub extern "C" fn comet_heap_allocate(
heap: *mut Heap,
size: usize,
index: GCInfoIndex,
) -> *mut HeapObjectHeaderAllocates memory and returns pointer. NULL is returned if no memory is available.