xo-object2 gardening for IGCObject_DString

This commit is contained in:
Roland Conybeare 2026-01-14 15:27:32 -05:00
commit aba9530a57
6 changed files with 12 additions and 10 deletions

View file

@ -71,8 +71,8 @@ xo_add_genfacetimpl(
FACET GCObject
REPR String
INPUT idl/IGCObject_DString.json5
OUTPUT_HPP_DIR include/xo/object2
OUTPUT_IMPL_SUBDIR string
OUTPUT_HPP_DIR include/xo/object2/string
OUTPUT_IMPL_SUBDIR .
OUTPUT_CPP_DIR src/object2
)

View file

@ -1,6 +1,7 @@
{
mode: "implementation",
includes: [ "<xo/gc/GCObject.hpp>",
includes: [
"<xo/gc/GCObject.hpp>",
"<xo/alloc2/Allocator.hpp>"
],
local_types: [ ],

View file

@ -11,7 +11,7 @@
* [idl/IGCObject_DString.json5]
**/
#include "IGCObject_DString.hpp"
#include "string/IGCObject_DString.hpp"
namespace xo {
namespace scm {
@ -36,4 +36,4 @@ namespace xo {
} /*namespace scm*/
} /*namespace xo*/
/* end IGCObject_DString.cpp */
/* end IGCObject_DString.cpp */

View file

@ -8,7 +8,7 @@
#include <xo/object2/IGCObject_DList.hpp>
#include <xo/object2/IGCObject_DFloat.hpp>
#include <xo/object2/IGCObject_DInteger.hpp>
#include <xo/object2/IGCObject_DString.hpp>
#include <xo/object2/string/IGCObject_DString.hpp>
#include <xo/object2/IPrintable_DList.hpp>
#include <xo/object2/IPrintable_DFloat.hpp>

View file

@ -8,6 +8,7 @@
#include "IGCObject_DList.hpp"
#include "IGCObject_DFloat.hpp"
#include "IGCObject_DInteger.hpp"
#include "string/IGCObject_DString.hpp"
#include "IPrintable_DList.hpp"
//#include "IPrintable_DFloat.hpp"
@ -17,12 +18,8 @@
#include <xo/indentlog/scope.hpp>
namespace xo {
// using xo::print::APrintable;
// using xo::mm::AAllocator;
using xo::mm::ACollector;
using xo::mm::AGCObject;
// using xo::mm::IGCObject_Any;
// using xo::facet::FacetRegistry;
using xo::facet::impl_for;
using xo::facet::typeseq;
using xo::scope;
@ -39,6 +36,10 @@ namespace xo {
ok &= gc.install_type(impl_for<AGCObject, DFloat>());
ok &= gc.install_type(impl_for<AGCObject, DInteger>());
ok &= gc.install_type(impl_for<AGCObject, DString>());
return ok;
}
}