Sortix
Sortix Download Manual Development News Blog More
current nightly

Sortix nightly manual

This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.

SDL_GetEventFilter(3) SDL API Reference SDL_GetEventFilter(3)

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, SDL_SetEventFilter
Tue 11 Sep 2001, 22:59 SDL
Copyright 2011-2023 Jonas 'Sortie' Termansen and contributors.
Sortix is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org