xo-gc: + scaffold for gc primitives

This commit is contained in:
Roland Conybeare 2026-03-24 22:20:23 -04:00
commit 5369c82ed5
5 changed files with 88 additions and 1 deletions

View file

@ -0,0 +1,30 @@
/** @file GcPrimitives.hpp
*
* @author Roland Conybeare, Mar 2026
**/
#pragma once
#include "Primitive_gco_1_gco.hpp"
namespace xo {
namespace scm {
/** @rbief primitives centered on gc/ data structures.
* (i.e. X1Collector)
**/
class GcPrimitives {
public:
using AAllocator = xo::mm::AAllocator;
public:
/** create primitive: request collection **/
static DPrimitive_gco_1_gco * make_request_gc_pm(obj<AAllocator> mm,
StringTable * stbl);
};
} /*namespace scm*/
} /*namespace xo*/
/* end GcPrimitives.hpp */