aboutsummaryrefslogtreecommitdiff
path: root/scheme.scm.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-04 11:25:37 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-05 18:06:13 +0100
commitdc8474d9034d9281463bb69f7f7a922e3ea713ee (patch)
treec3b870ada88f7aaa48918c4eb8b5d865f2f82019 /scheme.scm.c
parentWork on propper memmory management for linked lists. (diff)
downloadcalp-dc8474d9034d9281463bb69f7f7a922e3ea713ee.tar.gz
calp-dc8474d9034d9281463bb69f7f7a922e3ea713ee.tar.xz
Normalize and improve INIT & FREE macros.
Diffstat (limited to 'scheme.scm.c')
-rw-r--r--scheme.scm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scheme.scm.c b/scheme.scm.c
index e62610ff..f1fcb349 100644
--- a/scheme.scm.c
+++ b/scheme.scm.c
@@ -20,7 +20,7 @@ SCM_DEFINE (make_calendar, "make-calendar", 1, 0, 0,
vcalendar* cal =
(vcalendar*) scm_gc_malloc (
sizeof(*cal), "calendar");
- CONSTRUCT(vcalendar, cal);
+ INIT(vcalendar, cal);
char* p = scm_to_utf8_stringn(path, NULL);
read_vcalendar(cal, p);