Commit d01c0b2 1 parent b8c9e93 commit d01c0b2 Copy full SHA for d01c0b2
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,13 @@ typedef struct clap_host_undo {
168
168
// Note: this maybe a complex and asynchronous operation, which may complete after
169
169
// this function returns.
170
170
//
171
+ // Note: the host may ignore this request if there is no undo/redo step to perform,
172
+ // or if the host is unable to perform undo/redo at the time (eg: a long running
173
+ // change is going on).
174
+ //
171
175
// [main-thread]
172
- void (CLAP_ABI * undo )(const clap_host_t * host );
173
- void (CLAP_ABI * redo )(const clap_host_t * host );
176
+ void (CLAP_ABI * request_undo )(const clap_host_t * host );
177
+ void (CLAP_ABI * request_redo )(const clap_host_t * host );
174
178
175
179
// Subscribes to or unsubscribes from undo context info.
176
180
//
You can’t perform that action at this time.
0 commit comments