sdlSetiOsEventPump function
Use this function to enable or disable the SDL event pump on Apple iOS.
This function is only available on Apple iOS.
\param enabled true to enable the event pump, false to disable it.
\since This function is available since SDL 3.1.3.
\sa SDL_SetiOSAnimationCallback
extern SDL_DECLSPEC void SDLCALL SDL_SetiOSEventPump(bool enabled)
Implementation
void sdlSetiOsEventPump(bool enabled) {
final sdlSetiOsEventPumpLookupFunction = libSdl3.lookupFunction<
Void Function(Uint8 enabled),
void Function(int enabled)>('SDL_SetiOSEventPump');
return sdlSetiOsEventPumpLookupFunction(enabled ? 1 : 0);
}