SDL_OutOfMemory - Man Page

Set an error indicating that memory allocation failed.

Header File

Defined in SDL3/SDL_error.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_OutOfMemory(void);

Description

This function does not do any memory allocation.

Return Value

Returns false.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS