aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/event/event-helpers.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-23 15:14:38 +0200
committerDavid Robillard <d@drobilla.net>2018-09-23 15:14:38 +0200
commitd77c88289edb4998f9e10b203e2757b5359a57e5 (patch)
tree7e302e1e2048662eb842d6df86eeae49c6a209bb /lv2/event/event-helpers.h
parente9f0796b44c85246ad829269e4fb1d229a6644a4 (diff)
downloadlv2-d77c88289edb4998f9e10b203e2757b5359a57e5.tar.xz
Aggressively deprecate event extension
Diffstat (limited to 'lv2/event/event-helpers.h')
-rw-r--r--lv2/event/event-helpers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lv2/event/event-helpers.h b/lv2/event/event-helpers.h
index f514155..2f0fcf5 100644
--- a/lv2/event/event-helpers.h
+++ b/lv2/event/event-helpers.h
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
+#include "lv2/core/attributes.h"
#include "lv2/event/event.h"
#ifdef __cplusplus
@@ -34,6 +35,8 @@ extern "C" {
# include <stdbool.h>
#endif
+LV2_DISABLE_DEPRECATION_WARNINGS
+
/** @file
* Helper functions for the LV2 Event extension
* <http://lv2plug.in/ns/ext/event>.
@@ -257,6 +260,8 @@ lv2_event_write_event(LV2_Event_Iterator* iter,
return true;
}
+LV2_RESTORE_WARNINGS
+
#ifdef __cplusplus
} /* extern "C" */
#endif