commit bcad926637d8075720ee1777ba95256b6818aa29
parent 38f20230e01e82e2cc3e8f51ae3d4fec5a8e35aa
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Tue, 29 Nov 2022 14:13:14 +0100
missing extern c++
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/clap/ext/draft/param-indication.h b/include/clap/ext/draft/param-indication.h
@@ -12,6 +12,10 @@
static CLAP_CONSTEXPR const char CLAP_EXT_PARAM_INDICATION[] = "clap.param-indication.draft/0";
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct clap_plugin_param_indication {
// Sets or clears a mapping indication.
// If the host doesn't use mapping color, then mapping_color should be null.
@@ -22,3 +26,7 @@ typedef struct clap_plugin_param_indication {
bool is_mapped,
const clap_color_t *mapping_color);
} clap_plugin_param_indication_t;
+
+#ifdef __cplusplus
+}
+#endif