summaryrefslogtreecommitdiff
path: root/fns.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 17:03:25 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-06-30 17:03:25 +0000
commit50f83a91220940042962fdb55d07bb03991f52be (patch)
treec2d1046393d7c3f75becd7b2150afab46156baf0 /fns.h
parent347e5bc533070a5e988d82e7588a4e905c7096f3 (diff)
Add support for builtins, and implement true/0, fail/0, call/1, and !/0 builtins
Diffstat (limited to 'fns.h')
-rw-r--r--fns.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fns.h b/fns.h
index b8e92ca..d145b81 100644
--- a/fns.h
+++ b/fns.h
@@ -17,4 +17,7 @@ Term *mknumber(int, vlong, double);
int evalquery(Term *, Term *, Binding **);
/* repl.c */
-void repl(Term *); \ No newline at end of file
+void repl(Term *);
+
+/* builtins.c */
+Builtin findbuiltin(Term *);