From f44953307bc58eb2a364297416b61c2262a64759 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Feb 2020 11:17:38 +0100 Subject: 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. --- lv2/state/state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lv2/state') 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. -- cgit v1.2.1