aboutsummaryrefslogtreecommitdiff
path: root/src/struct.h
diff options
context:
space:
mode:
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)