xo-gc: refactor to extract DX1Collector etc from xo-alloc2/

This commit is contained in:
Roland Conybeare 2025-12-22 22:24:10 -05:00
commit 419cb097dd
5 changed files with 9 additions and 12 deletions

View file

@ -3,7 +3,7 @@
* @author Roland Conybeare, Dec 2025
**/
#include "xo/alloc2/GCObject.hpp"
#include "xo/gc/GCObject.hpp"
//#include "xo/alloc2/gcobject/RGCObject.hpp"
#include "xo/facet/obj.hpp"

View file

@ -6,8 +6,8 @@
#pragma once
#include <xo/alloc2/alloc/AAllocator.hpp>
#include <xo/alloc2/gcobject/AGCObject.hpp>
#include <xo/alloc2/gcobject/IGCObject_Xfer.hpp>
#include <xo/gc/gcobject/AGCObject.hpp>
#include <xo/gc/gcobject/IGCObject_Xfer.hpp>
#include "DFloat.hpp"
namespace xo {

View file

@ -6,8 +6,8 @@
#pragma once
#include "xo/alloc2/alloc/AAllocator.hpp"
#include <xo/alloc2/gcobject/AGCObject.hpp>
#include <xo/alloc2/gcobject/IGCObject_Xfer.hpp>
#include <xo/gc/gcobject/AGCObject.hpp>
#include <xo/gc/gcobject/IGCObject_Xfer.hpp>
#include "DInteger.hpp"
namespace xo {

View file

@ -7,12 +7,9 @@
#include <xo/alloc2/alloc/AAllocator.hpp>
#include <xo/alloc2/alloc/RAllocator.hpp>
#include <xo/alloc2/Collector.hpp>
//#include <xo/alloc2/gc/ACollector.hpp>
//#include <xo/alloc2/gc/ICollector_Any.hpp>
//#include <xo/alloc2/gc/RCollector.hpp>
#include <xo/alloc2/gcobject/AGCObject.hpp>
#include <xo/alloc2/gcobject/IGCObject_Xfer.hpp>
#include <xo/gc/Collector.hpp>
#include <xo/gc/gcobject/AGCObject.hpp>
#include <xo/gc/gcobject/IGCObject_Xfer.hpp>
#include "DList.hpp"
namespace xo {

View file

@ -9,5 +9,5 @@ set(SELF_SRCS
xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 ${SELF_SRCS})
# note: deps here must also appear in cmake/xo_alloc2Config.cmake.in
xo_dependency(${SELF_LIB} xo_alloc2)
xo_dependency(${SELF_LIB} xo_gc)
#xo_dependency(${SELF_LIB} indentlog)