SDL_SetiOSEventPump(3)
π SDL_SetiOSEventPump π
okay bestie, so this little cutie lives in the SDL3 manual and its whole job is turning the SDL event pump on or off on Apple iOS. that's it. that's the function. no cap. π
β¨ NAME β¨
SDL_SetiOSEventPump β the one you call to enable or disable the SDL event pump on Apple iOS. literally its entire personality. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_system.h>
void SDL_SetiOSEventPump(bool enabled);
like, that's the whole thing. no return value, she gives you nothing back, she just does. π
π¦ DESCRIPTION π¦
okay so first things first: this function is only available on Apple iOS. only. iOS. if you're on anything else, she's not coming to the party, sorry babe. π
π§ FUNCTION PARAMETERS π§
enabledβ passtrueto turn the event pump ON, orfalseto turn it OFF. two moods, one boolean. pick wisely. β¨
π THREAD SAFETY π
bestie. listen. this function should only be called on the main thread. do not be out here being chaotic and calling it from some random worker thread, i am begging you. main thread only. periodt. π«Ά
π AVAILABILITY π
she's been around since SDL 3.2.0. a legend from day one, fr fr. β
π SEE ALSO π
SDL_SetiOSAnimationCallback(3)β her sibling, also iconic, also on the iOS guest list. go say hi. π
okay that's the whole page, you ate that, go forth and pump your events responsibly. mwah. ππ
source vibes come courtesy of Simple Directmedia Layer, version SDL 3.4.18 β mwah, love her, bye bestie! πΈβ¨π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms