SDL_GetEventFilterSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 22:59 |
SDL_GetEventFilterSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 22:59 |
#include "SDL.h"
SDL_EventFilter SDL_GetEventFilter(void);
This function retrieces a pointer to the event filter that was previously set using SDL_SetEventFilter. An SDL_EventFilter function is defined as:
typedef int (*SDL_EventFilter)(const SDL_Event *event);
Returns a pointer to the event filter or NULL if no filter has been set.
SDL_Event, SDL_SetEventFilter