table of contents
other versions
- experimental 3.1.0+ds-1
SDL_CloseStorage(3) | SDL3 FUNCTIONS | SDL_CloseStorage(3) |
NAME¶
SDL_CloseStorage - Closes and frees a storage container.
SYNOPSIS¶
#include "SDL3/SDL.h"
int SDL_CloseStorage(SDL_Storage *storage);
FUNCTION PARAMETERS¶
- storage
- a storage container to close
RETURN VALUE¶
Returns 0 if the container was freed with no errors, a negative value 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.0.0.
SEE ALSO¶
SDL_OpenFileStorage(3), SDL_OpenStorage(3), SDL_OpenTitleStorage(3), SDL_OpenUserStorage(3)
SDL 3.1.0 | SDL |