From b3680b60258372baa1d5e606026760ef223641b9 Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 3 Jul 2015 11:53:52 +0000 Subject: merge the states for reasoning and evaluation into a single structure --- src/runtime/c/pgf/hopu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/runtime/c/pgf/hopu.c') diff --git a/src/runtime/c/pgf/hopu.c b/src/runtime/c/pgf/hopu.c index 5767feac0..d94804625 100644 --- a/src/runtime/c/pgf/hopu.c +++ b/src/runtime/c/pgf/hopu.c @@ -1,10 +1,10 @@ #include "data.h" -#include "evaluator.h" +#include "reasoner.h" #include "hopu.h" -void pgf_pattern_unify(PgfEvalState* state, PgfClosure* c1, PgfClosure* c2) +void pgf_pattern_unify(PgfReasoner* rs, PgfClosure* c1, PgfClosure* c2) { - c1 = state->eval_gates->enter(state, c1); - c2 = state->eval_gates->enter(state, c2); + c1 = rs->eval_gates->enter(rs, c1); + c2 = rs->eval_gates->enter(rs, c2); } -- cgit v1.2.3