xo-interpreter2 stack: modularize nth() primitive setup/install
This commit is contained in:
parent
c500a98722
commit
692a9a7f1b
4 changed files with 34 additions and 8 deletions
|
|
@ -35,6 +35,10 @@ namespace xo {
|
|||
static DPrimitive_gco_2_gco_gco * make_cmplt_pm(obj<AAllocator> mm);
|
||||
/** polymorphic (in both arguments) compare (<=) **/
|
||||
static DPrimitive_gco_2_gco_gco * make_cmple_pm(obj<AAllocator> mm);
|
||||
/** polymorphic (in both arguments) compare (>) **/
|
||||
static DPrimitive_gco_2_gco_gco * make_cmpgt_pm(obj<AAllocator> mm);
|
||||
/** polymorphic (in both arguments) compare (>=) **/
|
||||
static DPrimitive_gco_2_gco_gco * make_cmpge_pm(obj<AAllocator> mm);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
namespace xo {
|
||||
namespace scm {
|
||||
/** Register gc-aware (AGCObject,DRepr) combinations with garbage collector @p gc **/
|
||||
bool numeric_register_primitives(obj<xo::mm::AAllocator> gc,
|
||||
/** Register primitive factories with primitive registry **/
|
||||
bool numeric_register_primitives(obj<xo::mm::AAllocator> mm,
|
||||
InstallSink sink,
|
||||
InstallFlags flags);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue