Fix event ownership comment

This commit is contained in:
Romain Vimont 2019-05-29 08:38:32 +02:00
parent b08dada6c1
commit e1afd9f8b0

View file

@ -75,7 +75,7 @@ control_event_queue_is_empty(const struct control_event_queue *queue);
bool bool
control_event_queue_is_full(const struct control_event_queue *queue); control_event_queue_is_full(const struct control_event_queue *queue);
// event is copied, the queue does not use the event after the function returns // the event is "moved": the queue takes ownership of its fields
bool bool
control_event_queue_push(struct control_event_queue *queue, control_event_queue_push(struct control_event_queue *queue,
const struct control_event *event); const struct control_event *event);