aboutsummaryrefslogtreecommitdiff
path: root/vcal.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 /vcal.h
parentAdd GC guards. (diff)
downloadcalp-9d479ca655aee6108e92c9d0e46dc4f8d898c89f.tar.gz
calp-9d479ca655aee6108e92c9d0e46dc4f8d898c89f.tar.xz
Store static reference to SCM version of vcomponent.
Diffstat (limited to 'vcal.h')
-rw-r--r--vcal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcal.h b/vcal.h
index 02a51ff5..bedf22ee 100644
--- a/vcal.h
+++ b/vcal.h
@@ -3,6 +3,8 @@
#include <stdlib.h>
+#include <libguile.h>
+
#include "strbuf.h"
#define TYPE strbuf
@@ -101,6 +103,8 @@ struct s_vcomponent {
vcomponent* parent;
TRIE(content_line) clines;
VECT(vcomponent) components;
+
+ SCM scm;
};
#define FCHILD(v) GET(VECT(vcomponent))(&(v)->components, 0)