xo-object2: type registration + gc fixes

This commit is contained in:
Roland Conybeare 2026-01-02 09:53:23 -05:00
commit 99108b8dbb
16 changed files with 285 additions and 17 deletions

View file

@ -37,8 +37,7 @@ namespace xo {
{
gc.forward_inplace(src.head_.iface(), (void **)&(src.head_.data_));
//auto rest = with_facet<AGCObject>::mkobj(src.rest_);
xo::facet::FacetImplementation<xo::mm::AGCObject, DList>::ImplType iface;
auto iface = xo::facet::impl_for<AGCObject, DList>();
gc.forward_inplace(&iface, (void **)(&src.rest_));
return shallow_size(src);