rwops: Add SDL_GetRWStatus, make the statuses into an enum.

This commit is contained in:
Ryan C. Gordon 2024-03-13 12:29:17 -04:00
parent e35c304022
commit cc58da4c63
No known key found for this signature in database
GPG key ID: FA148B892AB48044
5 changed files with 44 additions and 8 deletions

View file

@ -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)