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);
