commit 92f68fcb197e5a88eb0229ea194a899927b3b71e
parent 27517a5c246ef319f015a0449bde0641f8313516
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Mon, 22 Apr 2024 10:59:19 +0200
subscribe_to_context_info -> set_wants_context_info
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/clap/ext/draft/undo.h b/include/clap/ext/draft/undo.h
@@ -157,10 +157,12 @@ typedef struct clap_host_undo {
// The plugin may only need the context info if it's GUI is shown and it wants to display
// undo/redo info.
//
+ // Initial state is unsubscribed.
+ //
// wants_info: set to true to receive context info
//
// [main-thread]
- void(CLAP_ABI *subscribe_to_context_info)(const clap_host_t *host, bool wants_info);
+ void(CLAP_ABI *set_wants_context_info)(const clap_host_t *host, bool wants_info);
} clap_host_undo_t;
#ifdef __cplusplus