comet_heap_allocate

Function comet_heap_allocate 

Source
#[unsafe(no_mangle)]
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.