about summary refs log tree commit diff stats
path: root/src/wrapped/generated/wrappedsdl2types.h
diff options
context:
space:
mode:
authorYang Liu <numbksco@gmail.com>2024-05-24 16:14:49 +0800
committerGitHub <noreply@github.com>2024-05-24 10:14:49 +0200
commit2ee846f48e7fa9b103f0949f63f91712ca7b03ca (patch)
treee9521f080520ee0361275a4a6b3f5a5c4fca136f /src/wrapped/generated/wrappedsdl2types.h
parent9c846a3e40ca96e580e4ab4b3db38f1ed7f791ea (diff)
downloadbox64-2ee846f48e7fa9b103f0949f63f91712ca7b03ca.tar.gz
box64-2ee846f48e7fa9b103f0949f63f91712ca7b03ca.zip
Workaround on a race condition on SDL_GetThreadID (#1530)
Diffstat (limited to 'src/wrapped/generated/wrappedsdl2types.h')
-rw-r--r--src/wrapped/generated/wrappedsdl2types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrappedsdl2types.h b/src/wrapped/generated/wrappedsdl2types.h
index ef568de9..8386e999 100644
--- a/src/wrapped/generated/wrappedsdl2types.h
+++ b/src/wrapped/generated/wrappedsdl2types.h
@@ -17,6 +17,7 @@ typedef int32_t (*iFp_t)(void*);
 typedef int64_t (*IFp_t)(void*);
 typedef uint32_t (*uFp_t)(void*);
 typedef uint64_t (*UFp_t)(void*);
+typedef uintptr_t (*LFp_t)(void*);
 typedef void* (*pFv_t)(void);
 typedef void* (*pFp_t)(void*);
 typedef void (*vFpp_t)(void*, void*);
@@ -74,6 +75,7 @@ typedef void* (*pFpippp_t)(void*, int32_t, void*, void*, void*);
 	GO(SDL_ReadU8, uFp_t) \
 	GO(SDL_ReadBE64, UFp_t) \
 	GO(SDL_ReadLE64, UFp_t) \
+	GO(SDL_GetThreadID, LFp_t) \
 	GO(SDL_GetBasePath, pFv_t) \
 	GO(SDL_Vulkan_GetVkGetInstanceProcAddr, pFv_t) \
 	GO(SDL_GL_GetProcAddress, pFp_t) \