These are used by SDL_EnterAppMainCallbacks. This mechanism operates behind
the scenes for apps using the optional main callbacks. Apps that want to
use this should just implement SDL_AppEvent directly.
\param appstate an optional pointer, provided by the app in SDL_AppInit.
\param result the result code that terminated the app (success or failure).
Function pointer typedef for SDL_AppQuit.
These are used by SDL_EnterAppMainCallbacks. This mechanism operates behind the scenes for apps using the optional main callbacks. Apps that want to use this should just implement SDL_AppEvent directly.
\param appstate an optional pointer, provided by the app in SDL_AppInit. \param result the result code that terminated the app (success or failure).