aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/uri-map/uri-map.h
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/uri-map/uri-map.h
parentbf21fccffd50775217fbe3f417eb0216377f1942 (diff)
downloadlv2-64e25ef4f27e9e82402ba1a361e8c443eefc93db.tar.xz
Add missing C extern declarations for C++.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/uri-map/uri-map.h')
-rw-r--r--lv2/lv2plug.in/ns/ext/uri-map/uri-map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/uri-map/uri-map.h b/lv2/lv2plug.in/ns/ext/uri-map/uri-map.h
index d1dc2f7..2062af3 100644
--- a/lv2/lv2plug.in/ns/ext/uri-map/uri-map.h
+++ b/lv2/lv2plug.in/ns/ext/uri-map/uri-map.h
@@ -34,6 +34,10 @@
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
Opaque pointer to host data.
*/
@@ -87,4 +91,8 @@ typedef struct {
const char* uri);
} LV2_URI_Map_Feature;
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* LV2_URI_MAP_H */