summaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-09 20:09:22 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-09 20:09:22 +0000
commita37ae2f0170499be1a95031d24ff86aac5cf46f1 (patch)
treefcd3a769a460a5b8a5b54c53cd70ed5d2834a73a /fns.h
parentd2a0828140c31514c514b8e4fb9a4d52c389d8fe (diff)
Add asserta/1, assertz/1, retract/1, abolish/1 (and retract_one/1, which is retract/1 but doesn't backtrack)
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fns.h b/fns.h
index dd3745b..5a5ba88 100644
--- a/fns.h
+++ b/fns.h
@@ -66,6 +66,8 @@ void writeterm(Term *, Term *, Term *);
void initmodules(void);
Module *parsemodule(char *);
Module *getmodule(Rune *);
+Clause *appendclause(Clause *, Clause *);
+Predicate *appendpredicate(Predicate *, Predicate *);
/* types.c */
int islist(Term *);