From 487caa5868d816ae811c6a68f2bb9b1f5a798dbe Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Jun 2022 08:19:54 -0400 Subject: Fix whitespace and add missing clang-format configuration --- plugins/eg-metro.lv2/metro.c | 3 ++- plugins/eg-params.lv2/params.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/eg-metro.lv2/metro.c b/plugins/eg-metro.lv2/metro.c index 354934b..c89c542 100644 --- a/plugins/eg-metro.lv2/metro.c +++ b/plugins/eg-metro.lv2/metro.c @@ -345,7 +345,8 @@ static const LV2_Descriptor descriptor = { NULL, // extension_data }; -LV2_SYMBOL_EXPORT const LV2_Descriptor* +LV2_SYMBOL_EXPORT +const LV2_Descriptor* lv2_descriptor(uint32_t index) { return index == 0 ? &descriptor : NULL; diff --git a/plugins/eg-params.lv2/params.c b/plugins/eg-params.lv2/params.c index 59f312c..052b43b 100644 --- a/plugins/eg-params.lv2/params.c +++ b/plugins/eg-params.lv2/params.c @@ -526,7 +526,8 @@ static const LV2_Descriptor descriptor = {EG_PARAMS_URI, cleanup, extension_data}; -LV2_SYMBOL_EXPORT const LV2_Descriptor* +LV2_SYMBOL_EXPORT +const LV2_Descriptor* lv2_descriptor(uint32_t index) { return (index == 0) ? &descriptor : NULL; -- cgit v1.2.1