xo-alloc2: register DArena facet + subsystem init
This commit is contained in:
parent
1e715cb94c
commit
22502a7875
2 changed files with 20 additions and 12 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include "object2_register_facets.hpp"
|
||||
#include "object2_register_types.hpp"
|
||||
#include <xo/gc/CollectorTypeRegistry.hpp>
|
||||
#include <xo/alloc2/init_alloc2.hpp>
|
||||
|
||||
namespace xo {
|
||||
using xo::scm::object2_register_facets;
|
||||
|
|
@ -27,7 +28,7 @@ namespace xo {
|
|||
InitEvidence retval;
|
||||
|
||||
/* direct subsystem deps for xo-object2/ */
|
||||
// retval ^= InitSubsys<S_somedep_tag>::require();
|
||||
retval ^= InitSubsys<S_alloc2_tag>::require();
|
||||
|
||||
/* xo-expression2/'s own initialization code */
|
||||
retval ^= Subsystem::provide<S_object2_tag>("object2", &init);
|
||||
|
|
|
|||
|
|
@ -6,22 +6,29 @@
|
|||
#include "object2_register_facets.hpp"
|
||||
#include "RuntimeError.hpp"
|
||||
|
||||
#include <xo/object2/array/IGCObject_DArray.hpp>
|
||||
#include <xo/object2/list/IGCObject_DList.hpp>
|
||||
#include <xo/object2/boolean/IGCObject_DBoolean.hpp>
|
||||
#include <xo/object2/number/IGCObject_DFloat.hpp>
|
||||
#include <xo/object2/number/IGCObject_DInteger.hpp>
|
||||
#include <xo/object2/string/IGCObject_DString.hpp>
|
||||
#include <xo/object2/Array.hpp>
|
||||
//#include <xo/object2/List.hpp>
|
||||
#include <xo/object2/Boolean.hpp>
|
||||
#include <xo/object2/Integer.hpp>
|
||||
#include <xo/object2/Float.hpp>
|
||||
#include <xo/object2/String.hpp>
|
||||
|
||||
#include <xo/object2/array/IPrintable_DArray.hpp>
|
||||
//#include <xo/object2/array/IGCObject_DArray.hpp>
|
||||
#include <xo/object2/list/IGCObject_DList.hpp>
|
||||
//#include <xo/object2/boolean/IGCObject_DBoolean.hpp>
|
||||
//#include <xo/object2/number/IGCObject_DFloat.hpp>
|
||||
//#include <xo/object2/number/IGCObject_DInteger.hpp>
|
||||
//#include <xo/object2/string/IGCObject_DString.hpp>
|
||||
|
||||
//#include <xo/object2/array/IPrintable_DArray.hpp>
|
||||
#include <xo/object2/list/IPrintable_DList.hpp>
|
||||
#include <xo/object2/boolean/IPrintable_DBoolean.hpp>
|
||||
#include <xo/object2/number/IPrintable_DFloat.hpp>
|
||||
#include <xo/object2/number/IPrintable_DInteger.hpp>
|
||||
#include <xo/object2/string/IPrintable_DString.hpp>
|
||||
//#include <xo/object2/boolean/IPrintable_DBoolean.hpp>
|
||||
//#include <xo/object2/number/IPrintable_DFloat.hpp>
|
||||
//#include <xo/object2/number/IPrintable_DInteger.hpp>
|
||||
//#include <xo/object2/string/IPrintable_DString.hpp>
|
||||
|
||||
#include <xo/object2/list/ISequence_DList.hpp>
|
||||
#include <xo/object2/array/ISequence_DArray.hpp>
|
||||
//#include <xo/object2/array/ISequence_DArray.hpp>
|
||||
|
||||
#include <xo/printable2/detail/APrintable.hpp>
|
||||
#include <xo/alloc2/alloc/AAllocator.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue