diff options
Diffstat (limited to 'lv2/worker/worker.h')
-rw-r--r-- | lv2/worker/worker.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lv2/worker/worker.h b/lv2/worker/worker.h index 6926887..35b82b5 100644 --- a/lv2/worker/worker.h +++ b/lv2/worker/worker.h @@ -16,6 +16,7 @@ /** @defgroup worker Worker + @ingroup lv2 Support for non-realtime plugin operations, see <http://lv2plug.in/ns/ext/worker> for details. @@ -26,10 +27,10 @@ #ifndef LV2_WORKER_H #define LV2_WORKER_H -#include <stdint.h> - #include "lv2/core/lv2.h" +#include <stdint.h> + #define LV2_WORKER_URI "http://lv2plug.in/ns/ext/worker" ///< http://lv2plug.in/ns/ext/worker #define LV2_WORKER_PREFIX LV2_WORKER_URI "#" ///< http://lv2plug.in/ns/ext/worker# @@ -71,7 +72,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 +130,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. */ |