aboutsummaryrefslogtreecommitdiff
path: root/c/defs.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-05-28 20:50:33 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-05-28 20:50:33 +0200
commite12dafae0488d82d05be9dfde3d99f9e3cbb0ce0 (patch)
treeb8b24e64dc0bf3e61d997e726153eb4c5c5756fe /c/defs.h
parent2608667f440c1d0f15f26c5856f86cb16bb02175 (diff)
downloadEpisodeBrowser-e12dafae0488d82d05be9dfde3d99f9e3cbb0ce0.tar.gz
Add option to show/hide other screenwriters.
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))