SDL_OutOfMemory

Function SDL_OutOfMemory 

Source
pub extern "C" fn SDL_OutOfMemory() -> bool
Expand description

Set an error indicating that memory allocation failed.

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.