This package contains various functions on memory allocation and deallocation.
fun malloc_gc {n:int} ( bsz: size_t (n) ) :<!wrt> [l:agz] ( b0ytes n @ l, mfree_gc_v (l) | ptr l ) = "mac#%" // endfun
fun
mfree_gc
{l:addr}{n:int}
(
pfat: b0ytes n @ l
, pfgc: mfree_gc_v (l) | ptr l
) :<!wrt> void = "mac#%"
Synopsis for [calloc_gc] is unavailable.
Synopsis for [realloc_gc] is unavailable.
This page is created with ATS by Hongwei Xi and also maintained by Hongwei Xi. |