xo-object2: + DArray gc hooks for AGCObject
This commit is contained in:
parent
eae117a5d3
commit
f5b071f103
2 changed files with 46 additions and 1 deletions
|
|
@ -100,7 +100,12 @@ namespace xo {
|
|||
///@}
|
||||
/** @defgroup darray-gcobject-methods **/
|
||||
///@{
|
||||
|
||||
/** shallow memory consumption. Excludes child objects **/
|
||||
AAllocator::size_type shallow_size() const noexcept;
|
||||
/** return shallow copy of this array, using memory from @p mm **/
|
||||
DArray * shallow_copy(obj<AAllocator> mm) const noexcept;
|
||||
/** forward elements to @p gc to-space; replace originals with forarding pointers **/
|
||||
AAllocator::size_type forward_children(obj<ACollector> gc) noexcept;
|
||||
///@}
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue