Skip to main content

SDL_OutOfMemory

Function SDL_OutOfMemory 

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

Set an error indicating that memory allocation failed.

This function does not do any memory allocation.

Returns: false.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.