Added storage filesystem operations to the exported function list

This commit is contained in:
Sam Lantinga 2024-03-17 13:02:35 -07:00
parent e7b9f75e62
commit 9153287fa0
3 changed files with 15 additions and 0 deletions

View File

@ -994,6 +994,11 @@ SDL3_0.0.0 {
SDL_GetPathInfo;
SDL_FileTimeToWindows;
SDL_OpenFileStorage;
SDL_CreateStorageDirectory;
SDL_EnumerateStorageDirectory;
SDL_RemoveStoragePath;
SDL_RenameStoragePath;
SDL_GetStoragePathInfo;
# extra symbols go here (don't modify this line)
local: *;
};

View File

@ -1019,3 +1019,8 @@
#define SDL_GetPathInfo SDL_GetPathInfo_REAL
#define SDL_FileTimeToWindows SDL_FileTimeToWindows_REAL
#define SDL_OpenFileStorage SDL_OpenFileStorage_REAL
#define SDL_CreateStorageDirectory SDL_CreateStorageDirectory_REAL
#define SDL_EnumerateStorageDirectory SDL_EnumerateStorageDirectory_REAL
#define SDL_RemoveStoragePath SDL_RemoveStoragePath_REAL
#define SDL_RenameStoragePath SDL_RenameStoragePath_REAL
#define SDL_GetStoragePathInfo SDL_GetStoragePathInfo_REAL

View File

@ -1044,3 +1044,8 @@ SDL_DYNAPI_PROC(int,SDL_RenamePath,(const char *a, const char *b),(a,b),return)
SDL_DYNAPI_PROC(int,SDL_GetPathInfo,(const char *a, SDL_PathInfo *b),(a,b),return)
SDL_DYNAPI_PROC(void,SDL_FileTimeToWindows,(Sint64 a, Uint32 *b, Uint32 *c),(a,b,c),)
SDL_DYNAPI_PROC(SDL_Storage*,SDL_OpenFileStorage,(const char *a),(a),return)
SDL_DYNAPI_PROC(int,SDL_CreateStorageDirectory,(SDL_Storage *a, const char *b),(a,b),return)
SDL_DYNAPI_PROC(int,SDL_EnumerateStorageDirectory,(SDL_Storage *a, const char *b, SDL_EnumerateDirectoryCallback c, void *d),(a,b,c,d),return)
SDL_DYNAPI_PROC(int,SDL_RemoveStoragePath,(SDL_Storage *a, const char *b),(a,b),return)
SDL_DYNAPI_PROC(int,SDL_RenameStoragePath,(SDL_Storage *a, const char *b, const char *c),(a,b,c),return)
SDL_DYNAPI_PROC(int,SDL_GetStoragePathInfo,(SDL_Storage *a, const char *b, SDL_PathInfo *c),(a,b,c),return)