aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/event
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-15 08:52:04 -0500
committerDavid Robillard <d@drobilla.net>2024-11-15 08:52:04 -0500
commitc8b2c46886888e53125f1027ef3ea96dc584bcaa (patch)
tree4ba167899860fafef7dc29b5b8d323c9c41a866e /include/lv2/event
parentb59021e44cc39c47031c58994323ebf1a37011d1 (diff)
downloadlv2-c8b2c46886888e53125f1027ef3ea96dc584bcaa.tar.xz
Update clang-format configuration
Diffstat (limited to 'include/lv2/event')
-rw-r--r--include/lv2/event/event.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/include/lv2/event/event.h b/include/lv2/event/event.h
index e255291..dc15f45 100644
--- a/include/lv2/event/event.h
+++ b/include/lv2/event/event.h
@@ -51,8 +51,7 @@ LV2_DISABLE_DEPRECATION_WARNINGS
Equal to 2^12 * 5 * 7 * 9 * 11 * 13 * 17, which is evenly divisible
by all integers from 1 through 18 inclusive, and powers of 2 up to 2^12.
*/
-LV2_DEPRECATED
-static const uint32_t LV2_EVENT_PPQN = 3136573440U;
+LV2_DEPRECATED static const uint32_t LV2_EVENT_PPQN = 3136573440U;
/**
An LV2 event (header only).
@@ -67,8 +66,7 @@ static const uint32_t LV2_EVENT_PPQN = 3136573440U;
memcpy(ev_copy, ev, sizeof(LV2_Event) + ev->size); (or equivalent)
*/
-LV2_DEPRECATED
-typedef struct {
+LV2_DEPRECATED typedef struct {
/**
The frames portion of timestamp. The units used here can optionally be
set for a port (with the lv2ev:timeUnits property), otherwise this is
@@ -127,8 +125,7 @@ typedef struct {
| | | | | | | | | | | | | | | | | | | | | | | | |
|FRAMES |SUBFRMS|TYP|LEN|DATA..DATA..PAD|FRAMES | ...
*/
-LV2_DEPRECATED
-typedef struct {
+LV2_DEPRECATED typedef struct {
/**
The contents of the event buffer. This may or may not reside in the
same block of memory as this header, plugins must not assume either.
@@ -210,8 +207,7 @@ typedef struct {
/**
Opaque pointer to host data.
*/
-LV2_DEPRECATED
-typedef void* LV2_Event_Callback_Data;
+LV2_DEPRECATED typedef void* LV2_Event_Callback_Data;
/**
Non-POD events feature.
@@ -221,8 +217,7 @@ typedef void* LV2_Event_Callback_Data;
and data pointed to an instance of this struct. Note this feature
is not mandatory to support the event extension.
*/
-LV2_DEPRECATED
-typedef struct {
+LV2_DEPRECATED typedef struct {
/**
Opaque pointer to host data.