commit c3483b9f49c3a95671917c9c256f234bf0512b9b
parent 65238a0ab62b804d19bd635a4ed50f043509b278
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Wed, 19 Oct 2016 10:19:43 +0200
Some doc
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/clap/clap.h b/include/clap/clap.h
@@ -328,6 +328,12 @@ struct clap_plugin
void *host_data; // reserved pointer for the host
void *plugin_data; // reserved pointer for the plugin
+ /* The 3 following strings are here because:
+ * - they are mandatory
+ * - it is convenient when you debug, to be able to see
+ * the plugin name, id and version by displaying
+ * the structure.
+ */
char name[CLAP_NAME_SIZE]; // plugin name, eg: "Diva"
char id[CLAP_ID_SIZE]; // plugin id, eg: "u-he/diva"
char version[CLAP_VERSION_SIZE]; // the plugin version, eg: "1.3.2"