comparison include/SDL_events.h @ 844:cd0c77df70a4

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 18 Feb 2004 03:57:13 +0000
parents b8d311d90021
children 04a403e4ccf5
comparison
equal deleted inserted replaced
843:748f441d7d9f 844:cd0c77df70a4
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 SDLCALL SDL_WaitEvent(SDL_Event *event); 274 extern DECLSPEC int SDLCALL 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 if the event queue was full, or -1 277 This function returns 0 on success, or -1 if the event queue was full
278 if there was some other error. Returns 1 on success. 278 or there was some other error.
279 */ 279 */
280 extern DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event *event); 280 extern DECLSPEC int SDLCALL 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