SDL_CloseStorage - Man Page

Closes and frees a storage container.

Header File

Defined in SDL3/SDL_storage.h

Synopsis

#include "SDL3/SDL.h"

bool SDL_CloseStorage(SDL_Storage *storage);

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.

See Also

·(3), SDL_OpenFileStorage(3), ·(3), SDL_OpenStorage(3), ·(3), SDL_OpenTitleStorage(3), ·(3), SDL_OpenUserStorage(3)

Referenced By

SDL_OpenFileStorage(3), SDL_OpenStorage(3), SDL_OpenTitleStorage(3), SDL_OpenUserStorage(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS