Skip to content

Commit 92f68fc

Browse files
committed
subscribe_to_context_info -> set_wants_context_info
1 parent 27517a5 commit 92f68fc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/clap/ext/draft/undo.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,12 @@ typedef struct clap_host_undo {
157157
// The plugin may only need the context info if it's GUI is shown and it wants to display
158158
// undo/redo info.
159159
//
160+
// Initial state is unsubscribed.
161+
//
160162
// wants_info: set to true to receive context info
161163
//
162164
// [main-thread]
163-
void(CLAP_ABI *subscribe_to_context_info)(const clap_host_t *host, bool wants_info);
165+
void(CLAP_ABI *set_wants_context_info)(const clap_host_t *host, bool wants_info);
164166
} clap_host_undo_t;
165167

166168
#ifdef __cplusplus

0 commit comments

Comments
 (0)