summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authorPeter Mikkelsen <peter@pmikkelsen.com>2021-07-08 21:54:27 +0000
committerPeter Mikkelsen <peter@pmikkelsen.com>2021-07-08 21:54:27 +0000
commitd2a0828140c31514c514b8e4fb9a4d52c389d8fe (patch)
tree01b461851fbae13f1d37fd880fe6ac21922de613 /dat.h
parente9f5f2ffcc62eee564d37d5776e701bab548a496 (diff)
Add current_predicate/1 builtin
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index e085acd..e01276d 100644
--- a/dat.h
+++ b/dat.h
@@ -59,6 +59,7 @@ struct Predicate
Rune *name;
int arity;
int public;
+ int builtin; /* All the predicates from the system module are builtin */
Clause *clauses;
Predicate *next;
};