sdlSetEventEnabled function
Set the state of processing events by type.
\param type the type of event; see SDL_EventType for details. \param enabled whether to process the event or not.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_EventEnabled
extern SDL_DECLSPEC void SDLCALL SDL_SetEventEnabled(Uint32 type, bool enabled)
Implementation
void sdlSetEventEnabled(int type, bool enabled) {
final sdlSetEventEnabledLookupFunction = libSdl3.lookupFunction<
Void Function(Uint32 type, Uint8 enabled),
void Function(int type, int enabled)>('SDL_SetEventEnabled');
return sdlSetEventEnabledLookupFunction(type, enabled ? 1 : 0);
}