diff options
author | David Robillard <d@drobilla.net> | 2012-08-03 17:36:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-03 17:36:43 +0000 |
commit | 0994283a7d427b0554398b912360312b621de8ee (patch) | |
tree | be137fd02e83dc06596cea1b37ac6822bb360071 /lv2 | |
parent | bd1ba4a37fcd3f74935099127c0ed6c234ab7e5a (diff) | |
download | lv2-0994283a7d427b0554398b912360312b621de8ee.tar.xz |
Add compile test for all headers.
Diffstat (limited to 'lv2')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event-helpers.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/ext/event/event-helpers.h b/lv2/lv2plug.in/ns/ext/event/event-helpers.h index 8e29507..fcd13fe 100644 --- a/lv2/lv2plug.in/ns/ext/event/event-helpers.h +++ b/lv2/lv2plug.in/ns/ext/event/event-helpers.h @@ -22,13 +22,19 @@ #ifndef LV2_EVENT_HELPERS_H #define LV2_EVENT_HELPERS_H +#include <assert.h> #include <stdint.h> -#include <stdbool.h> -#include <string.h> #include <stdlib.h> -#include <assert.h> +#include <string.h> + #include "lv2/lv2plug.in/ns/ext/event/event.h" +#ifdef __cplusplus +extern "C" { +#else +# include <stdbool.h> +#endif + /** @file * Helper functions for the LV2 Event extension * <http://lv2plug.in/ns/ext/event>. @@ -246,5 +252,9 @@ lv2_event_write_event(LV2_Event_Iterator* iter, return true; } +#ifdef __cplusplus +} /* extern "C" */ +#endif + #endif /* LV2_EVENT_HELPERS_H */ |