aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/urid
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/urid
parentbf21fccffd50775217fbe3f417eb0216377f1942 (diff)
downloadlv2-64e25ef4f27e9e82402ba1a361e8c443eefc93db.tar.xz
Add missing C extern declarations for C++.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/urid')
-rw-r--r--lv2/lv2plug.in/ns/ext/urid/urid.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/urid/urid.h b/lv2/lv2plug.in/ns/ext/urid/urid.h
index b4be712..c317f7f 100644
--- a/lv2/lv2plug.in/ns/ext/urid/urid.h
+++ b/lv2/lv2plug.in/ns/ext/urid/urid.h
@@ -35,6 +35,10 @@
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
Opaque pointer to host data for LV2_URID_Map.
*/
@@ -118,4 +122,8 @@ typedef struct _LV2_URID_Unmap {
LV2_URID urid);
} LV2_URID_Unmap;
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* LV2_URID_H */