event_list_get_first()
QNX SDP8.0Gestures Library ReferenceAPIDeveloperProgramming
Return the first item in an event list
Synopsis:
#include <gestures/event_list.h>
event_list_item_t* event_list_get_first(struct event_list *list)
Arguments:
- list
- A pointer to an event list.
Library:
libgesturesDescription:
This function gets the first element in an event list. Use the macro STAILQ_NEXT(element, field)
to walk the list, where element
is a pointer to an event list item, and field
is the link
member of the event list item.
Returns:
A pointer to the first item in the event list.
Page updated: