include/SDL_events.h
changeset 276 8af85680ca0a
parent 251 b8688cfdc232
child 297 f6ffac90895c
equal deleted inserted replaced
275:53fc686e9428 276:8af85680ca0a
   272    event is removed from the queue and stored in that area.
   272    event is removed from the queue and stored in that area.
   273  */
   273  */
   274 extern DECLSPEC int SDL_WaitEvent(SDL_Event *event);
   274 extern DECLSPEC int SDL_WaitEvent(SDL_Event *event);
   275 
   275 
   276 /* Add an event to the event queue.
   276 /* Add an event to the event queue.
   277    This function returns 0, or -1 if the event couldn't be added to
   277    This function returns 0 if the event queue was full, or -1
   278    the event queue.  If the event queue is full, this function fails.
   278    if there was some other error.  Returns 1 on success.
   279  */
   279  */
   280 extern DECLSPEC int SDL_PushEvent(SDL_Event *event);
   280 extern DECLSPEC int SDL_PushEvent(SDL_Event *event);
   281 
   281 
   282 /*
   282 /*
   283   This function sets up a filter to process all events before they
   283   This function sets up a filter to process all events before they