diff options
| author | krasimir <krasimir@chalmers.se> | 2015-07-03 11:53:52 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2015-07-03 11:53:52 +0000 |
| commit | b3680b60258372baa1d5e606026760ef223641b9 (patch) | |
| tree | 3a3ee8d0facef3048dfdd2c316125d6083808fc7 /src/runtime/c/pgf/hopu.c | |
| parent | 1c2b6702d74482713ca364f821319894073f67a2 (diff) | |
merge the states for reasoning and evaluation into a single structure
Diffstat (limited to 'src/runtime/c/pgf/hopu.c')
| -rw-r--r-- | src/runtime/c/pgf/hopu.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |
