From 64e25ef4f27e9e82402ba1a361e8c443eefc93db Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Jul 2014 22:25:44 +0000 Subject: Add missing C extern declarations for C++. --- lv2/lv2plug.in/ns/ext/worker/worker.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lv2/lv2plug.in/ns/ext/worker/worker.h') 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 */ -- cgit v1.2.1