aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/data-access
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-07-28 22:25:44 +0000
committerDavid Robillard <d@drobilla.net>2014-07-28 22:25:44 +0000
commit64e25ef4f27e9e82402ba1a361e8c443eefc93db (patch)
tree40eaab680c6c922b2b59b0c9d1a6e82db2a9d9f3 /lv2/lv2plug.in/ns/ext/data-access
parentbf21fccffd50775217fbe3f417eb0216377f1942 (diff)
downloadlv2-64e25ef4f27e9e82402ba1a361e8c443eefc93db.tar.xz
Add missing C extern declarations for C++.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/data-access')
-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 */