Skip to main content

internal.gc

Standard library Module View source
function seq_alloc
@pure @C
seq_alloc(a: int) -> cobj
function seq_alloc_atomic
@pure @C
seq_alloc_atomic(a: int) -> cobj
function seq_alloc_uncollectable
@pure @C
seq_alloc_uncollectable(a: int) -> cobj
function seq_alloc_atomic_uncollectable
@pure @C
seq_alloc_atomic_uncollectable(a: int) -> cobj
function seq_realloc
@nocapture @derives @C
seq_realloc(p: cobj, newsize: int, oldsize: int) -> cobj
function seq_free
@nocapture @C
seq_free(p: cobj) -> None
function seq_register_finalizer
@nocapture @C
seq_register_finalizer(p: cobj, f: cobj) -> None
function seq_gc_add_roots
@nocapture @C
seq_gc_add_roots(p: cobj, q: cobj) -> None
function seq_gc_remove_roots
@nocapture @C
seq_gc_remove_roots(p: cobj, q: cobj) -> None
function seq_gc_clear_roots
@C
seq_gc_clear_roots() -> None
function seq_gc_exclude_static_roots
@nocapture @C
seq_gc_exclude_static_roots(p: cobj, q: cobj) -> None
function sizeof
sizeof[T: type]()
function atomic
atomic[T: type]()
function alloc
alloc(sz: int)
function alloc_atomic
alloc_atomic(sz: int)
function alloc_uncollectable
alloc_uncollectable(sz: int)
function alloc_atomic_uncollectable
alloc_atomic_uncollectable(sz: int)
function realloc
realloc(p: cobj, newsz: int, oldsz: int)
function free
free(p: cobj)
function add_roots
add_roots(start: cobj, end: cobj)
function remove_roots
remove_roots(start: cobj, end: cobj)
function clear_roots
clear_roots()
function exclude_static_roots
exclude_static_roots(start: cobj, end: cobj)
function register_finalizer
register_finalizer(p)
function construct_ref
construct_ref[T: type](args) -> T