aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/worker
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/worker')
-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 */
id='n139' href='#n139'>139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169