summaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fns.h b/fns.h
index c072d12..e6f454a 100644
--- a/fns.h
+++ b/fns.h
@@ -2,7 +2,7 @@
Term *parse(int, Biobuf *, int);
/* prettyprint.c */
-Rune *prettyprint(Term *, int, int, int);
+Rune *prettyprint(Term *, int, int, int, Module *);
/* misc.c */
Term *copyterm(Term *, uvlong *);
@@ -60,14 +60,17 @@ int isoutputstream(Term *);
int istextstream(Term *);
int isbinarystream(Term *);
int readterm(Term *, Term **);
-void writeterm(Term *, Term *, Term *);
+void writeterm(Term *, Term *, Term *, Module *);
/* module.c */
void initmodules(void);
Module *parsemodule(char *);
Module *getmodule(Rune *);
+Module *addemptymodule(Rune *);
Clause *appendclause(Clause *, Clause *);
Predicate *appendpredicate(Predicate *, Predicate *);
+Operator *getoperator(Rune *, Module *);
+void addoperator(int, int, Rune *, Module *);
/* types.c */
int islist(Term *);