SDL_CloseStorage(3)

SDL_CloseStorage3

Closes and frees a storage container.

Usage

#include "SDL3/SDL.h"

bool SDL_CloseStorage(SDL_Storage *storage);

Header file

Defined in SDL3/SDL_storage.h

Function 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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.