aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/data-access/data-access.h
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/data-access/data-access.h')
-rw-r--r--lv2/lv2plug.in/ns/ext/data-access/data-access.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/data-access/data-access.h b/lv2/lv2plug.in/ns/ext/data-access/data-access.h
index b19f65f..68aaf62 100644
--- a/lv2/lv2plug.in/ns/ext/data-access/data-access.h
+++ b/lv2/lv2plug.in/ns/ext/data-access/data-access.h
@@ -29,6 +29,10 @@
#define LV2_DATA_ACCESS_URI "http://lv2plug.in/ns/ext/data-access"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
The data field of the LV2_Feature for this extension.
@@ -52,4 +56,8 @@ typedef struct {
const void* (*data_access)(const char* uri);
} LV2_Extension_Data_Feature;
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* LV2_DATA_ACCESS_H */