v3_get_event()
v3_event *v3_get_event(int block);
Retrieves an event from the event queue. Note that you must free the returned event structure manually using a call to free() after you are finished processing the event.
Arguments
| Type | Description |
| int block | If non-zero, this call will block until an event is waiting |
Returns
If block is zero and an event is not waiting, this function will return NULL. If there is an event in the queue, it will return a v3_event structure?. If block is non-zero, this function will block until an event is received and then return a v3_event structure?.
