From 46ce36d0f5752b53081451f191ffb13d92cec451 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 12 Apr 2026 15:38:42 -0400 Subject: [PATCH] xo-gc: doc: + comment on GCObjectVisitor entry points --- .../xo/gc/detail/IGCObjectVisitor_DGCObjectStoreVisitor.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/xo/gc/detail/IGCObjectVisitor_DGCObjectStoreVisitor.hpp b/include/xo/gc/detail/IGCObjectVisitor_DGCObjectStoreVisitor.hpp index de14f5b..a7a987f 100644 --- a/include/xo/gc/detail/IGCObjectVisitor_DGCObjectStoreVisitor.hpp +++ b/include/xo/gc/detail/IGCObjectVisitor_DGCObjectStoreVisitor.hpp @@ -46,10 +46,12 @@ namespace xo { ///@{ // const methods /** allocation metadata for gc-aware data at address @p gco. -@p gco must be the result of a call to collector's alloc() function **/ +@p gco must be the result of a call to collector's alloc() function +note: load-bearing for xo-gc/MutationLogStore **/ static AllocInfo alloc_info(const DGCObjectStoreVisitor & self, void * addr); /** generation to which pointer @p addr belongs, given role @p r; -sentinel if @p addr is not owned by collector **/ +sentinel if @p addr is not owned by collector. +note: load-bearing for xo-gc/MutationLogStore **/ static Generation generation_of(const DGCObjectStoreVisitor & self, Role r, const void * addr) noexcept; // non-const methods