diff options
author | David Robillard <d@drobilla.net> | 2014-07-28 22:25:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-07-28 22:25:44 +0000 |
commit | 64e25ef4f27e9e82402ba1a361e8c443eefc93db (patch) | |
tree | 40eaab680c6c922b2b59b0c9d1a6e82db2a9d9f3 /lv2/lv2plug.in/ns/ext/worker | |
parent | bf21fccffd50775217fbe3f417eb0216377f1942 (diff) | |
download | lv2-64e25ef4f27e9e82402ba1a361e8c443eefc93db.tar.xz |
Add missing C extern declarations for C++.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/worker')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/worker/worker.h | 8 |
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 */ |