summaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-06 21:23:41 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-06 21:23:41 +0000
commit03738c67684b83692d9112858f07c745f355a157 (patch)
tree61ea389bcadab7211212646ea0c532b7d7635325 /fns.h
parenta0eb2bb268774a85411f037983d931f35bc7830f (diff)
Store the calling module in each goal, and fix a bug where unification could leave behind some bindings even though the unification failed.
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fns.h b/fns.h
index 4e713b0..7255166 100644
--- a/fns.h
+++ b/fns.h
@@ -21,6 +21,7 @@ Clause *copyclause(Clause *, uvlong *);
int evalquery(Term *, Binding **);
int unify(Term *, Term *, Binding **);
void applybinding(Term *, Binding *);
+Goal *addgoals(Goal *, Term *, Module *);
/* repl.c */
void repl(void);