Function comet_heap_allocate_or_fail

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

Allocates memory and returns pointer. When no memory is left process is aborted.