xo-gc: + scaffold for gc primitives
This commit is contained in:
parent
1ec0d042d1
commit
5369c82ed5
5 changed files with 88 additions and 1 deletions
30
include/xo/procedure2/GcPrimitives.hpp
Normal file
30
include/xo/procedure2/GcPrimitives.hpp
Normal 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 */
|
||||
Loading…
Add table
Add a link
Reference in a new issue