SDL_GetEventFilter

Name

SDL_GetEventFilter -- イベントフィルタへのポインタを得ます。

Synopsis

#include "SDL.h"

SDL_EventFilter SDL_GetEventFilter(void);

Description

SDL_SetEventFilter関数によって設定されたイベントフィルタへのポインタを返します。 SDL_EventFilter 関数は以下のように定義されています。

typedef int (*SDL_EventFilter)(const SDL_Event *event);

Return Value

イベントフィルタへのポインタを返します。イベントフィルタが セットされていないときはNULLを返します。

See Also

SDL_Event, SDL_SetEventFilter