core.gc

Source code: core/gc.seq

core.gc.sizeof[T]()
core.gc.atomic[T]()
core.gc.alloc(sz: int)
core.gc.alloc_atomic(sz: int)
core.gc.realloc(p: cobj, sz: int)
core.gc.free(p: cobj)
core.gc.add_roots(start: cobj, end: cobj)
core.gc.remove_roots(start: cobj, end: cobj)
core.gc.clear_roots()
core.gc.exclude_static_roots(start: cobj, end: cobj)