Man page - sdl_outofmemory(3)

Packages contas this manual

Manual

SDL_OutOfMemory(3) SDL3 FUNCTIONS SDL_OutOfMemory(3)

SDL_OutOfMemory - Set an error indicating that memory allocation failed.

Defined in SDL3/SDL_error.h

#include "SDL3/SDL.h"
bool SDL_OutOfMemory(void);

This function does not do any memory allocation.

Returns false.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer