aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/options
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-23 11:17:38 +0100
committerDavid Robillard <d@drobilla.net>2020-02-23 11:17:38 +0100
commitf44953307bc58eb2a364297416b61c2262a64759 (patch)
treeaaf5b6360fb622325ad4a1dd035ec784503a2064 /lv2/options
parenta7a8d43cd191aa0e613164b9fae56165ae9b1f81 (diff)
downloadlv2-f44953307bc58eb2a364297416b61c2262a64759.tar.xz
Remove unnecessary struct names
These are not necessary since they are not recursive types, and the names violated the C standard. There also seems to be a bug in Doxygen where TYPEDEF_HIDES_STRUCT was not working, which made the documentation confusing and ugly. Strictly speaking, this could break user code that used these names directly, but this was never intended to be supported and should be fixed if it actually occurs anywhere.
Diffstat (limited to 'lv2/options')
-rw-r--r--lv2/options/options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2/options/options.h b/lv2/options/options.h
index 7878c58..6d7fe77 100644
--- a/lv2/options/options.h
+++ b/lv2/options/options.h
@@ -85,7 +85,7 @@ typedef enum {
with data pointed to an array of options terminated by a zeroed option, or
accessed/manipulated using LV2_Options_Interface.
*/
-typedef struct _LV2_Options_Option {
+typedef struct {
LV2_Options_Context context; /**< Context (type of subject). */
uint32_t subject; /**< Subject. */
LV2_URID key; /**< Key (property). */
@@ -106,7 +106,7 @@ typedef enum {
/**
Interface for dynamically setting options (LV2_OPTIONS__interface).
*/
-typedef struct _LV2_Options_Interface {
+typedef struct {
/**
Get the given options.