refactor: use GCObjectVisitor api w/ gco_shallow_move
This commit is contained in:
parent
0bc037f1ea
commit
31df51ac8e
8 changed files with 16 additions and 14 deletions
|
|
@ -27,7 +27,7 @@ namespace xo {
|
|||
class DGlobalEnv {
|
||||
public:
|
||||
using TypeDescr = xo::reflect::TypeDescr;
|
||||
using ACollector = xo::mm::ACollector;
|
||||
//using ACollector = xo::mm::ACollector;
|
||||
using AGCObject = xo::mm::AGCObject;
|
||||
using AGCObjectVisitor = xo::mm::AGCObjectVisitor;
|
||||
using AAllocator = xo::mm::AAllocator;
|
||||
|
|
@ -72,7 +72,7 @@ namespace xo {
|
|||
/** @defgroup scm-globalenv-gcobject-facet **/
|
||||
///@{
|
||||
|
||||
DGlobalEnv * shallow_move(obj<ACollector> gc) noexcept;
|
||||
DGlobalEnv * gco_shallow_move(obj<AGCObjectVisitor> gc) noexcept;
|
||||
void visit_gco_children(obj<AGCObjectVisitor> gc) noexcept;
|
||||
|
||||
///@}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue