diff options
Diffstat (limited to 'c/defs.h')
-rw-r--r-- | c/defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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)) |