Unify all the SDL_*RunApp() functions into just SDL_RunApp()

makes the SDL_main code shorter

Also added a generic SDL_RunApp() implementation for platforms that
don't really need it.

Some platforms (that use SDL_main but haven't been ported yet) are
still missing, but are added in the following commits.
This commit is contained in:
Daniel Gibson 2022-12-15 06:01:34 +01:00 committed by Sam Lantinga
parent 1de559248e
commit 7bfc41db3c
14 changed files with 106 additions and 130 deletions

View file

@ -521,9 +521,6 @@ SDL3_0.0.0 {
SDL_SetMainReady;
SDL_RegisterApp;
SDL_UnregisterApp;
SDL_WinRTRunApp;
SDL_UIKitRunApp;
SDL_GDKRunApp;
SDL_GDKSuspendComplete;
SDL_GetBasePath;
SDL_GetPrefPath;
@ -861,7 +858,7 @@ SDL3_0.0.0 {
SDL_DelayNS;
SDL_GetEventState;
SDL_GetRenderDriver;
SDL_Win32RunApp;
SDL_RunApp;
# extra symbols go here (don't modify this line)
local: *;
};