Function comet_heap_allocate

Source
pub extern "C" fn comet_heap_allocate(
    heap: *mut Heap,
    size: usize,
    index: GCInfoIndex,
) -> *mut HeapObjectHeader
Expand description

Allocates memory and returns pointer. NULL is returned if no memory is available.