aboutsummaryrefslogtreecommitdiff
path: root/src/struct.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-10-02 23:05:01 +0200
committerHugo Hörnquist <hugo@hornquist.se>2019-10-02 23:05:01 +0200
commit1c3bd94c328df0c8b4293bc42a25b2d7c851fd0c (patch)
treefb529813816b2d0bce24f475f367e2556b7a2f71 /src/struct.h
parentDisabled bunch of old stuff, new stuff kinda builds. (diff)
downloadcalp-1c3bd94c328df0c8b4293bc42a25b2d7c851fd0c.tar.gz
calp-1c3bd94c328df0c8b4293bc42a25b2d7c851fd0c.tar.xz
Made parser work again (for single files).
Diffstat (limited to 'src/struct.h')
-rw-r--r--src/struct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/struct.h b/src/struct.h
index 838d8180..d39cf471 100644
--- a/src/struct.h
+++ b/src/struct.h
@@ -8,8 +8,8 @@
#define vcomponent_parent scm_from_uint8(2)
#define vcomponent_lines scm_from_uint8(3)
-inline SCM scm_component_parent(SCM component) {
- return scm_struct_ref (component, vcomponent_parent); }
+#define scm_component_parent(component) \
+ scm_struct_ref (component, vcomponent_parent)
#define vline_value scm_from_uint8(0)
#define vline_attributes scm_from_uint8(1)