commit 4b253aeff7be4a603611aa25388a6e263f40ebfe
parent 84b40ec1f220f1cac690aaa9f6f70a355f3773a2
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Fri, 9 Sep 2022 10:25:49 +0200
Clarify clap.input_events.size()
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/include/clap/events.h b/include/clap/events.h
@@ -263,6 +263,7 @@ typedef struct clap_event_midi2 {
typedef struct clap_input_events {
void *ctx; // reserved pointer for the list
+ // returns the number of events in the list
uint32_t(CLAP_ABI *size)(const struct clap_input_events *list);
// Don't free the returned event, it belongs to the list