SDL_OutOfMemory(3)
β¨ SDL_OutOfMemory β¨
okay bestie, welcome to the SDL3 FUNCTIONS section of the manual, and today's main character is SDL_OutOfMemory π
πΈ NAME πΈ
SDL_OutOfMemory β set an error indicating that memory allocation failed π«Ά
π SYNOPSIS π
#include <SDL3/SDL_error.h>
bool SDL_OutOfMemory(void);
π¦ DESCRIPTION π¦
okay so real talk: this function does not do any memory allocation. not even a little. it just sets the error, no cap π
π RETURN VALUE π
it returns false. that's it, that's the whole vibe π
π₯ THREAD SAFETY π₯
it is safe to call this function from any thread β¨ so go off, thread queen π
π AVAILABILITY π
this function is available since SDL 3.2.0 β
and that's the whole page, bestie!! tysm for reading, mwah π this little cutie came to you from Simple Directmedia Layer, rockin' SDL 3.4.18 β periodt, bye π
π¦ 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