module internal.gc
¶
Source: stdlib/internal/gc.codon
internal.gc
¶Source: stdlib/internal/gc.codon
seq_alloc(a: int)
@pure Function has no side effects and returns same value for same inputs @C Function is external C function ¶seq_alloc_atomic(a: int)
@pure Function has no side effects and returns same value for same inputs @C Function is external C function ¶seq_alloc_uncollectable(a: int)
@pure Function has no side effects and returns same value for same inputs @C Function is external C function ¶seq_alloc_atomic_uncollectable(a: int)
@pure Function has no side effects and returns same value for same inputs @C Function is external C function ¶seq_realloc(p: cobj, newsize: int, oldsize: int)
@nocapture Function does not capture arguments (return value might capture) @derives Function return value captures arguments @C Function is external C function ¶seq_free(p: cobj)
@nocapture Function does not capture arguments (return value might capture) @C Function is external C function ¶seq_register_finalizer(p: cobj, f: cobj)
@nocapture Function does not capture arguments (return value might capture) @C Function is external C function ¶seq_gc_add_roots(p: cobj, q: cobj)
@nocapture Function does not capture arguments (return value might capture) @C Function is external C function ¶seq_gc_remove_roots(p: cobj, q: cobj)
@nocapture Function does not capture arguments (return value might capture) @C Function is external C function ¶seq_gc_clear_roots()
@C Function is external C function ¶seq_gc_exclude_static_roots(p: cobj, q: cobj)
@nocapture Function does not capture arguments (return value might capture) @C Function is external C function ¶sizeof(T: type)
¶atomic(T: type)
¶alloc(sz: int)
¶alloc_atomic(sz: int)
¶alloc_uncollectable(sz: int)
¶alloc_atomic_uncollectable(sz: int)
¶realloc(p: cobj, newsz: int, oldsz: int)
¶free(p: cobj)
¶add_roots(start: cobj, end: cobj)
¶remove_roots(start: cobj, end: cobj)
¶clear_roots()
¶exclude_static_roots(start: cobj, end: cobj)
¶register_finalizer(p)
¶construct_ref(args, T: type)
¶