git subrepo clone git@github.com:Rconybea/xo-alloc2.git xo-alloc2
subrepo: subdir: "xo-alloc2" merged: "4039c29f" upstream: origin: "git@github.com:Rconybea/xo-alloc2.git" branch: "main" commit: "4039c29f" git-subrepo: version: "0.4.9" origin: "???" commit: "???"
This commit is contained in:
parent
cf0bd4d975
commit
6a82040d48
105 changed files with 8693 additions and 0 deletions
36
xo-alloc2/src/alloc2/init_alloc2.cpp
Normal file
36
xo-alloc2/src/alloc2/init_alloc2.cpp
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/** @file init_alloc2.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Feb 2026
|
||||
**/
|
||||
|
||||
#include "init_alloc2.hpp"
|
||||
#include "SetupAlloc2.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::mm::SetupAlloc2;
|
||||
// using xo::mm::alloc2_register_types;
|
||||
// using xo::mm::CollectorTypeRegistry;
|
||||
|
||||
void
|
||||
InitSubsys<S_alloc2_tag>::init()
|
||||
{
|
||||
SetupAlloc2::register_facets();
|
||||
}
|
||||
|
||||
InitEvidence
|
||||
InitSubsys<S_alloc2_tag>::require()
|
||||
{
|
||||
InitEvidence retval;
|
||||
|
||||
/* direct subsystem deps for xo-alloc2/ (if/when) */
|
||||
//retval ^= InitSubsys<S_foo_tag>>::require();
|
||||
|
||||
/* xo-alloc2/'s own initialization code */
|
||||
retval ^= Subsystem::provide<S_alloc2_tag>("alloc2", &init);
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end init_alloc2.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue