typedef bool (SDLCALL *SDL_EventFilter)(void *userdata, SDL_Event *event);
SDLはこのコールバックをどのスレッドからも呼びうる. アプリケーションはコールバックが保護の必要な資源を扱う場合はロックする必要がある.