rwops: Add SDL_GetRWStatus, make the statuses into an enum.
This commit is contained in:
parent
e35c304022
commit
cc58da4c63
5 changed files with 44 additions and 8 deletions
|
@ -978,6 +978,7 @@ SDL3_0.0.0 {
|
|||
SDL_ShowOpenFolderDialog;
|
||||
SDL_OpenRW;
|
||||
SDL_CloseRW;
|
||||
SDL_GetRWStatus;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
|
|
@ -1003,3 +1003,4 @@
|
|||
#define SDL_ShowOpenFolderDialog SDL_ShowOpenFolderDialog_REAL
|
||||
#define SDL_OpenRW SDL_OpenRW_REAL
|
||||
#define SDL_CloseRW SDL_CloseRW_REAL
|
||||
#define SDL_GetRWStatus SDL_GetRWStatus_REAL
|
||||
|
|
|
@ -1028,3 +1028,4 @@ SDL_DYNAPI_PROC(void,SDL_ShowSaveFileDialog,(SDL_DialogFileCallback a, void *b,
|
|||
SDL_DYNAPI_PROC(void,SDL_ShowOpenFolderDialog,(SDL_DialogFileCallback a, void *b, SDL_Window *c, const char *d, int e),(a,b,c,d,e),)
|
||||
SDL_DYNAPI_PROC(SDL_RWops*,SDL_OpenRW,(const SDL_RWopsInterface *a, void *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_CloseRW,(SDL_RWops *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_RWopsStatus,SDL_GetRWStatus,(SDL_RWops *a),(a),return)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue