xo-umbrella2/xo-procedure2/include/xo/procedure2/SetupProcedure2.hpp
Roland Conybeare e2d181dd73 git subrepo clone git@github.com:Rconybea/xo-procedure2.git xo-procedure2
subrepo:
  subdir:   "xo-procedure2"
  merged:   "58848bc9"
upstream:
  origin:   "git@github.com:Rconybea/xo-procedure2.git"
  branch:   "main"
  commit:   "58848bc9"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2026-06-06 22:17:11 -04:00

29 lines
854 B
C++

/** @file SetupProcedure2.hpp
*
* @author Roland Conybeare, Jan 2026
**/
#pragma once
#include "PrimitiveRegistry.hpp"
#include <xo/alloc2/Collector.hpp>
namespace xo {
namespace scm {
struct SetupProcedure2 {
public:
using ACollector = xo::mm::ACollector;
public:
/** Register procedure2 (facet,impl) combinations with FacetRegistry **/
static bool register_facets();
/** Register gc-aware (AGCObject,DRepr) combinations with garbage collector @p gc **/
static bool register_types(obj<xo::mm::ACollector> gc);
static bool register_primitives(obj<ARuntimeContext> rcx,
InstallSink sink,
InstallFlags flags);
};
}
}
/* end SetupProcedure2.hpp */