Fix event ownership comment
This commit is contained in:
parent
b08dada6c1
commit
e1afd9f8b0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue