aboutsummaryrefslogtreecommitdiff
path: root/atom.h
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2014-05-18 10:54:17 +0300
committerOskari Timperi <oskari.timperi@iki.fi>2014-05-18 10:54:17 +0300
commit273589b4dbf45dc573b68baa3e5dc9c954982cd5 (patch)
tree0549823f5c2cd043ef9102a16e7c7176bdf48671 /atom.h
parentcece5aa4d3c0ac2364045d1adda8c36e9359adc2 (diff)
downloadlispish-273589b4dbf45dc573b68baa3e5dc9c954982cd5.tar.gz
lispish-273589b4dbf45dc573b68baa3e5dc9c954982cd5.zip
add atom_list_append() and atom_list_length()
Diffstat (limited to 'atom.h')
-rw-r--r--atom.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/atom.h b/atom.h
index 251eb3a..f620af4 100644
--- a/atom.h
+++ b/atom.h
@@ -63,6 +63,9 @@ struct atom *atom_clone();
void print_atom(struct atom *atom, int level);
+struct atom *atom_list_append(struct atom *list, int count, ...);
+int atom_list_length(struct atom *list);
+
extern struct atom true_atom;
extern struct atom false_atom;
extern struct atom nil_atom;