aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/state
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/state
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/state')
-rw-r--r--lv2/state/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/state/state.h b/lv2/state/state.h
index 45eb7e4..365711a 100644
--- a/lv2/state/state.h
+++ b/lv2/state/state.h
@@ -194,7 +194,7 @@ typedef const void* (*LV2_State_Retrieve_Function)(
authors should consider this possibility, and always store sensible data
with meaningful types to avoid such problems in the future.
*/
-typedef struct _LV2_State_Interface {
+typedef struct {
/**
Save plugin state using a host-provided `store` callback.