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/event | |
parent | bf21fccffd50775217fbe3f417eb0216377f1942 (diff) | |
download | lv2-64e25ef4f27e9e82402ba1a361e8c443eefc93db.tar.xz |
Add missing C extern declarations for C++.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/event')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/event/event.h b/lv2/lv2plug.in/ns/ext/event/event.h index aeb1332..e33d862 100644 --- a/lv2/lv2plug.in/ns/ext/event/event.h +++ b/lv2/lv2plug.in/ns/ext/event/event.h @@ -51,6 +51,10 @@ #include <stdint.h> +#ifdef __cplusplus +extern "C" { +#endif + /** The best Pulses Per Quarter Note for tempo-based uint32_t timestamps. Equal to 2^12 * 5 * 7 * 9 * 11 * 13 * 17, which is evenly divisble @@ -283,5 +287,8 @@ typedef struct { LV2_Event* event); } LV2_Event_Feature; +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* LV2_EVENT_H */ |