Mercurial > sdl-ios-xcode
comparison include/SDL_events.h @ 276:8af85680ca0a
Updated the documentation for the SDL_PushEvent() call.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 13 Feb 2002 23:40:13 +0000 |
parents | b8688cfdc232 |
children | f6ffac90895c |
comparison
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 |