Add SDL_storage
This commit is contained in:
parent
4fc749443f
commit
744227e6ab
16 changed files with 1035 additions and 0 deletions
|
@ -979,6 +979,14 @@ SDL3_0.0.0 {
|
|||
SDL_OpenIO;
|
||||
SDL_CloseIO;
|
||||
SDL_GetIOStatus;
|
||||
SDL_OpenTitleStorage;
|
||||
SDL_OpenUserStorage;
|
||||
SDL_OpenStorage;
|
||||
SDL_CloseStorage;
|
||||
SDL_StorageReady;
|
||||
SDL_StorageFileSize;
|
||||
SDL_StorageReadFile;
|
||||
SDL_StorageSpaceRemaining;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
@ -1004,3 +1004,11 @@
|
|||
#define SDL_OpenIO SDL_OpenIO_REAL
|
||||
#define SDL_CloseIO SDL_CloseIO_REAL
|
||||
#define SDL_GetIOStatus SDL_GetIOStatus_REAL
|
||||
#define SDL_OpenTitleStorage SDL_OpenTitleStorage_REAL
|
||||
#define SDL_OpenUserStorage SDL_OpenUserStorage_REAL
|
||||
#define SDL_OpenStorage SDL_OpenStorage_REAL
|
||||
#define SDL_CloseStorage SDL_CloseStorage_REAL
|
||||
#define SDL_StorageReady SDL_StorageReady_REAL
|
||||
#define SDL_StorageFileSize SDL_StorageFileSize_REAL
|
||||
#define SDL_StorageReadFile SDL_StorageReadFile_REAL
|
||||
#define SDL_StorageSpaceRemaining SDL_StorageSpaceRemaining_REAL
|
||||
|
|
|
@ -1029,3 +1029,11 @@ SDL_DYNAPI_PROC(void,SDL_ShowOpenFolderDialog,(SDL_DialogFileCallback a, void *b
|
|||
SDL_DYNAPI_PROC(SDL_IOStream*,SDL_OpenIO,(const SDL_IOStreamInterface *a, void *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_CloseIO,(SDL_IOStream *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_IOStatus,SDL_GetIOStatus,(SDL_IOStream *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_Storage*,SDL_OpenTitleStorage,(const char *a, SDL_PropertiesID b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(SDL_Storage*,SDL_OpenUserStorage,(const char *a, const char *b, SDL_PropertiesID c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(SDL_Storage*,SDL_OpenStorage,(const SDL_StorageInterface *a, void *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_CloseStorage,(SDL_Storage *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_bool,SDL_StorageReady,(SDL_Storage *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_StorageFileSize,(SDL_Storage *a, const char *b, Uint64 *c),(a,b,c),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_StorageReadFile,(SDL_Storage *a, const char *b, void *c, Uint64 d),(a,b,c,d),return)
|
||||
SDL_DYNAPI_PROC(Uint64,SDL_StorageSpaceRemaining,(SDL_Storage *a),(a),return)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue