xo-alloc2: ICollector_Xfer + ICollector_DX1Collector [WIP]
This commit is contained in:
parent
b26212c5aa
commit
257fc258ae
10 changed files with 167 additions and 7 deletions
|
|
@ -10,6 +10,7 @@ set(SELF_SRCS
|
|||
|
||||
ICollector_Any.cpp
|
||||
IGCObject_Any.cpp
|
||||
ICollector_DX1Collector.cpp
|
||||
|
||||
DX1Collector.cpp
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace xo {
|
|||
|
||||
size_t
|
||||
IAllocator_DArena::allocated(const DArena & s) noexcept {
|
||||
return s.free_ - s.lo_;
|
||||
return s.allocated();
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
|||
14
src/alloc2/ICollector_DX1Collector.cpp
Normal file
14
src/alloc2/ICollector_DX1Collector.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/** @file ICollector_DX1Collector.cpp
|
||||
*
|
||||
* @author Roland Conybeare, Dec 2025
|
||||
**/
|
||||
|
||||
#include "gc/ICollector_DX1Collector.hpp"
|
||||
|
||||
namespace xo {
|
||||
namespace mm {
|
||||
|
||||
} /*namespace mm*/
|
||||
} /*namespace xo*/
|
||||
|
||||
/* end ICollector_DX1Collector.cpp */
|
||||
Loading…
Add table
Add a link
Reference in a new issue