Name

SDL_GetEventFilter — Retrieves a pointer to he event filter

Synopsis

#include "SDL.h"
SDL_EventFilter SDL_GetEventFilter( void);  

DESCRIPTION

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

RETURN VALUE

Returns a pointer to the event filter or NULL if no filter has been set.

SEE ALSO

SDL_Event(3), SDL_SetEventFilter(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.