Function SDL_OutOfMemory

pub unsafe extern "C" fn SDL_OutOfMemory() -> bool
Available on crate feature dep_sdl3 only.
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.