Function SDL_CloseStorage

pub unsafe extern "C" fn SDL_CloseStorage(
    storage: *mut SDL_Storage,
) -> bool
Available on crate feature dep_sdl3 only.
Expand description

Closes and frees a storage container.

§Parameters

  • storage: a storage container to close.

§Return value

Returns true if the container was freed with no errors, false otherwise; call SDL_GetError() for more information. Even if the function returns an error, the container data will be freed; the error is only for informational purposes.

§Availability

This function is available since SDL 3.2.0.

§See also