aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/worker/worker.h
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/worker/worker.h')
-rw-r--r--lv2/lv2plug.in/ns/ext/worker/worker.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/worker/worker.h b/lv2/lv2plug.in/ns/ext/worker/worker.h
index 74ac45b..00b1039 100644
--- a/lv2/lv2plug.in/ns/ext/worker/worker.h
+++ b/lv2/lv2plug.in/ns/ext/worker/worker.h
@@ -32,6 +32,10 @@
#define LV2_WORKER__interface LV2_WORKER_PREFIX "interface"
#define LV2_WORKER__schedule LV2_WORKER_PREFIX "schedule"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
A status code for worker functions.
*/
@@ -147,4 +151,8 @@ typedef struct _LV2_Worker_Schedule {
const void* data);
} LV2_Worker_Schedule;
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif /* LV2_WORKER_H */