Example #1
0
 virtual void init_node(db::node *node)
 {
   db::simple_tuple *stpl(db::simple_tuple::create_new(new vm::tuple(vm::All->PROGRAM->get_init_predicate()), 0));
    new_work_self(node, stpl);
    node->init();
    node->set_owner(this);
 }
Example #2
0
 inline void init_node(db::node *node)
 {
    db::simple_tuple *stpl(db::simple_tuple::create_new(new vm::tuple(vm::state::PROGRAM->get_init_predicate())));
    new_work_self(node, stpl);
    node->init();
 }