xo-expression2 stack: + mvp DGlobalSymtab impl

This commit is contained in:
Roland Conybeare 2026-02-14 13:06:54 -05:00
commit 3e53b0d10a
2 changed files with 24 additions and 0 deletions

View file

@ -58,6 +58,13 @@ namespace xo {
static DArray * empty(obj<AAllocator> mm,
size_type cap);
/** create copy of @p src using memory from @p mm
* with capacity for @p new_cap elements
**/
static DArray * copy(obj<AAllocator> mm,
DArray * src,
size_type new_cap);
/** create array containing elements @p args, using memory from @p mm.
* Nullptr if space exhausted.
*