|
⇤ ← Revision 1 as of 2010-05-12 04:49:04
Size: 966
Comment: create page, add content (Wed Mar 10 ver; changeset 4428)
|
Size: 965
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| int SDL_PushEvent(SDL_Event* event); | int SDL_PushEvent(SDL_Event* event) |
DRAFT |
SDL_PushEvent
Use this function to add an event to the event queue.
Contents
Syntax
int SDL_PushEvent(SDL_Event* event)
Function Parameters
event |
a pointer to the SDL_Event to be added to the queue ??? |
Return Value
Returns 1 on success, 0 if the event was filtered, or -1 if the event queue was full or there was some other error; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
You can add useful comments here green
typedef int (SDLCALL * SDL_EventFilter) (void *userdata, SDL_Event * event);
