SDL file times are 64-bit integers representing nanoseconds since the Unix epoch

This commit is contained in:
Sam Lantinga 2024-03-17 13:11:13 -07:00
parent 9153287fa0
commit 747300b356
8 changed files with 65 additions and 49 deletions

View file

@ -999,6 +999,7 @@ SDL3_0.0.0 {
SDL_RemoveStoragePath;
SDL_RenameStoragePath;
SDL_GetStoragePathInfo;
SDL_FileTimeFromWindows;
# extra symbols go here (don't modify this line)
local: *;
};

View file

@ -1024,3 +1024,4 @@
#define SDL_RemoveStoragePath SDL_RemoveStoragePath_REAL
#define SDL_RenameStoragePath SDL_RenameStoragePath_REAL
#define SDL_GetStoragePathInfo SDL_GetStoragePathInfo_REAL
#define SDL_FileTimeFromWindows SDL_FileTimeFromWindows_REAL

View file

@ -1049,3 +1049,4 @@ SDL_DYNAPI_PROC(int,SDL_EnumerateStorageDirectory,(SDL_Storage *a, const char *b
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)
SDL_DYNAPI_PROC(SDL_FileTime,SDL_FileTimeFromWindows,(Uint32 a, Uint32 b),(a,b),return)