sdlIPhoneSetEventPump function
Use this function to enable or disable the SDL event pump on Apple iOS.
This function is only available on Apple iOS.
This functions is also accessible using the macro SDL_iOSSetEventPump() since SDL 2.0.4.
\param enabled SDL_TRUE to enable the event pump, SDL_FALSE to disable it
\since This function is available since SDL 2.0.0.
\sa SDL_iPhoneSetAnimationCallback
extern DECLSPEC void SDLCALL SDL_iPhoneSetEventPump(SDL_bool enabled)
Implementation
void sdlIPhoneSetEventPump(bool enabled) {
final sdlIPhoneSetEventPumpLookupFunction = libSdl2.lookupFunction<
Void Function(Int32 enabled),
void Function(int enabled)>('SDL_iPhoneSetEventPump');
return sdlIPhoneSetEventPumpLookupFunction(enabled ? 1 : 0);
}