aboutsummaryrefslogtreecommitdiff
path: root/guile_type_helpers.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-25 23:46:15 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-02-25 23:56:32 +0100
commit9d479ca655aee6108e92c9d0e46dc4f8d898c89f (patch)
tree9e93ba6cc231e3402c48431983d20697316e61dd /guile_type_helpers.h
parentAdd GC guards. (diff)
downloadcalp-9d479ca655aee6108e92c9d0e46dc4f8d898c89f.tar.gz
calp-9d479ca655aee6108e92c9d0e46dc4f8d898c89f.tar.xz
Store static reference to SCM version of vcomponent.
Diffstat (limited to 'guile_type_helpers.h')
-rw-r--r--guile_type_helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/guile_type_helpers.h b/guile_type_helpers.h
index bb69312d..427c55c6 100644
--- a/guile_type_helpers.h
+++ b/guile_type_helpers.h
@@ -6,6 +6,8 @@
#include "calendar.h"
#include "strbuf.h"
+#define SCM_IS_LIST(x) scm_is_true(scm_list_p(x))
+
SCM scm_from_strbuf(strbuf* s);
SCM scm_from_vector(VECT(vcomponent)* vect, SCM element_type);