xo-gc stack: fix mutation setup + xo-reader2 utest
This commit is contained in:
parent
b1d2ae6f19
commit
f56b01e7b6
11 changed files with 234 additions and 23 deletions
|
|
@ -7,6 +7,7 @@ set(SELF_SRCS
|
|||
SetupAlloc2.cpp
|
||||
|
||||
CollectorTypeRegistry.cpp
|
||||
GCObjectConversion.cpp
|
||||
|
||||
facet/ICollector_Any.cpp
|
||||
|
||||
|
|
|
|||
28
src/alloc2/GCObjectConversion.cpp
Normal file
28
src/alloc2/GCObjectConversion.cpp
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/** @file GCObjectConversion.cpp
|
||||
*
|
||||
* @author Roland Conybeare, May 2026
|
||||
**/
|
||||
|
||||
#include "GCObjectConversion.hpp"
|
||||
|
||||
namespace xo {
|
||||
using xo::reflect::typeseq;
|
||||
|
||||
namespace scm {
|
||||
|
||||
void
|
||||
GCObjectConversionUtil::_from_gco_fail_aux(obj<AGCObject> gco,
|
||||
typeseq tseq,
|
||||
scope * p_log)
|
||||
{
|
||||
p_log->retroactively_enable();
|
||||
if (p_log) {
|
||||
(*p_log)(xtag("gco.tseq", gco._typeseq()));
|
||||
(*p_log)(xtag("DRepr.tseq", tseq));
|
||||
}
|
||||
}
|
||||
|
||||
} /*namespace scm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end GCObjectConversion.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue