clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 2b31ad43c20466ab9bd7e91f4ec86771b50c120c
parent 99264f24f5383ba329c1d2abfef203f2c28ba0f5
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Mon,  3 Jan 2022 23:59:58 +0100

Merge pull request #44 from iPlug2/main

Fix struct definition for clap_plugin_factory / clap_plugin_factory_t
Diffstat:
Minclude/clap/plugin-factory.h | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/clap/plugin-factory.h b/include/clap/plugin-factory.h @@ -13,7 +13,7 @@ extern "C" { // Every methods must be thread-safe. // It is very important to be able to scan the plugin as quickly as possible. -struct clap_plugin_factory { +typedef struct clap_plugin_factory { /* Get the number of plugins available. * [thread-safe] */ uint32_t (*get_plugin_count)(const struct clap_plugin_factory *factory); @@ -33,10 +33,10 @@ struct clap_plugin_factory { const clap_plugin_t *(*create_plugin)(const struct clap_plugin_factory *factory, const clap_host_t *host, const char *plugin_id); -}; +} clap_plugin_factory_t; #pragma pack(pop) #ifdef __cplusplus } -#endif -\ No newline at end of file +#endif