commit 6ce38a99422b0e3612ad8cc4be6f50a9aec89afb
parent af1e05ce6487151c6b36003fdb47566dbb50194e
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Wed, 10 Aug 2022 14:59:00 +0200
Merge pull request #148 from baconpaul/next-start
Next updates
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/clap/ext/gui.h b/include/clap/ext/gui.h
@@ -100,6 +100,8 @@ typedef struct clap_plugin_gui {
// Returns true if the plugin has a preferred api.
// The host has no obligation to honor the plugin preferrence, this is just a hint.
+ // The const char **api variable should be explicitly assigned as a pointer to
+ // one of the CLAP_WINDOW_API_ constants defined above, not strcopied.
// [main-thread]
bool (*get_preferred_api)(const clap_plugin_t *plugin, const char **api, bool *is_floating);