aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/worker
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/worker
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/worker')
-rw-r--r--lv2/worker/worker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lv2/worker/worker.h b/lv2/worker/worker.h
index f874d84..2c25425 100644
--- a/lv2/worker/worker.h
+++ b/lv2/worker/worker.h
@@ -71,7 +71,7 @@ typedef LV2_Worker_Status (*LV2_Worker_Respond_Function)(
The plugin's extension_data() method should return an LV2_Worker_Interface
when called with LV2_WORKER__interface as its argument.
*/
-typedef struct _LV2_Worker_Interface {
+typedef struct {
/**
The worker method. This is called by the host in a non-realtime context
as requested, possibly with an arbitrary message to handle.
@@ -129,7 +129,7 @@ typedef void* LV2_Worker_Schedule_Handle;
The host passes this feature to provide a schedule_work() function, which
the plugin can use to schedule a worker call from run().
*/
-typedef struct _LV2_Worker_Schedule {
+typedef struct {
/**
Opaque host data.
*/