sdl2-compat: Updated SDL3 function signatures that used function pointers without typedefs.

From 6472c5e85c2af063b2fd212f1d2d808468b778d7 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Tue, 11 Jun 2024 12:22:09 -0400
Subject: [PATCH] Updated SDL3 function signatures that used function pointers
 without typedefs.

---
 src/sdl3_syms.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/sdl3_syms.h b/src/sdl3_syms.h
index 863ac53..d2b760a 100644
--- a/src/sdl3_syms.h
+++ b/src/sdl3_syms.h
@@ -342,7 +342,7 @@ SDL3_SYM_PASSTHROUGH(void*,realloc,(void *a, size_t b),(a,b),return)
 SDL3_SYM_PASSTHROUGH(void,free,(void *a),(a),)
 SDL3_SYM_PASSTHROUGH(char*,getenv,(const char *a),(a),return)
 SDL3_SYM_PASSTHROUGH(int,setenv,(const char *a, const char *b, int c),(a,b,c),return)
-SDL3_SYM_PASSTHROUGH(void,qsort,(void *a, size_t b, size_t c, int (SDLCALL *d)(const void *, const void *)),(a,b,c,d),)
+SDL3_SYM_PASSTHROUGH(void,qsort,(void *a, size_t b, size_t c, SDL_CompareCallback d),(a,b,c,d),)
 SDL3_SYM_PASSTHROUGH(int,abs,(int a),(a),return)
 SDL3_SYM_PASSTHROUGH(int,isdigit,(int a),(a),return)
 SDL3_SYM_PASSTHROUGH(int,isspace,(int a),(a),return)
@@ -442,7 +442,7 @@ SDL3_SYM_PASSTHROUGH(void,WaitThread,(SDL_Thread *a, int *b),(a,b),)
 SDL3_SYM_PASSTHROUGH(void,DetachThread,(SDL_Thread *a),(a),)
 SDL3_SYM_RENAMED(SDL_TLSID,TLSCreate,CreateTLS,(void),(),return)
 SDL3_SYM_RENAMED(void*,TLSGet,GetTLS,(SDL_TLSID a),(a),return)
-SDL3_SYM_RENAMED(int,TLSSet,SetTLS,(SDL_TLSID a, const void *b, void (SDLCALL *c)(void*)),(a,b,c),return)
+SDL3_SYM_RENAMED(int,TLSSet,SetTLS,(SDL_TLSID a, const void *b, SDL_TLSDestructorCallback c,(a,b,c),return)
 SDL3_SYM(Uint64,GetTicks,(void),(),return)
 SDL3_SYM_PASSTHROUGH(Uint64,GetPerformanceCounter,(void),(),return)
 SDL3_SYM_PASSTHROUGH(Uint64,GetPerformanceFrequency,(void),(),return)
@@ -728,7 +728,7 @@ SDL3_SYM(int,GetRectUnionFloat,(const SDL_FRect *a, const SDL_FRect *b, SDL_FRec
 SDL3_SYM_RENAMED(SDL_bool,EncloseFPoints,GetRectEnclosingPointsFloat,(const SDL_FPoint *a, int b, const SDL_FRect *c, SDL_FRect *d),(a,b,c,d),return)
 SDL3_SYM_RENAMED(SDL_bool,IntersectFRectAndLine,GetRectAndLineIntersectionFloat,(const SDL_FRect *a, float *b, float *c, float *d, float *e),(a,b,c,d,e),return)
 SDL3_SYM_RENAMED(SDL_Window*,RenderGetWindow,GetRenderWindow,(SDL_Renderer *a),(a),return)
-SDL3_SYM_PASSTHROUGH(void*,bsearch,(const void *a, const void *b, size_t c, size_t d, int (SDLCALL *e)(const void *, const void *)),(a,b,c,d,e),return)
+SDL3_SYM_PASSTHROUGH(void*,bsearch,(const void *a, const void *b, size_t c, size_t d, SDL_CompareCallback e),(a,b,c,d,e),return)
 SDL3_SYM_RENAMED(const char*,GameControllerPath,GetGamepadPath,(SDL_GameController *a),(a),return)
 SDL3_SYM_RENAMED(const char*,JoystickPath,GetJoystickPath,(SDL_Joystick *a),(a),return)
 SDL3_SYM_RENAMED(Uint16,GameControllerGetFirmwareVersion,GetGamepadFirmwareVersion,(SDL_GameController *a),(a),return)