xo-gc: + poly gc root method

This commit is contained in:
Roland Conybeare 2026-01-03 00:33:35 -05:00
commit e35a6ae587
8 changed files with 13 additions and 15 deletions

View file

@ -222,7 +222,7 @@ namespace xo {
bool install_type(const AGCObject & meta) noexcept;
/** add GC root at @p root_addr, with type @p typeseq **/
void add_gc_root(typeseq tseq, Opaque * root_addr) noexcept;
void add_gc_root_poly(obj<AGCObject> * p_root) noexcept;
/** Request immediate collection.
* 1. if collection is enabled, immediately collect all generations