aboutsummaryrefslogtreecommitdiff
path: root/c/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/defs.h')
-rw-r--r--c/defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/defs.h b/c/defs.h
index 7f22389..6cb5c25 100644
--- a/c/defs.h
+++ b/c/defs.h
@@ -43,6 +43,8 @@ void DlvShowEpisode(int);
#define Qn(q) PL_next_solution(q)
#define Qc(q) PL_cut_query(q)
#define T(a) PL_new_term_refs(a)
+#define A(s) PL_new_atom(s)
+#define PA(t,x) if (!PL_put_atom(t,x))
#define PI(t,x) if (!PL_put_integer(t,x))
#define GI(t,x) if (!PL_get_integer(t,x))
#define GAC(t,x) if (!PL_get_atom_chars(t,x))