logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_AppQuit_func - Function pointer typedef for SDL_AppQuit .

Availability

       This datatype is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                            SDL_AppQuit_func(3type)

Description

       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.

Function Parameters

appstate
              an optional pointer, provided by the app in SDL_AppInit .

       result the result code that terminated the app (success or failure).

Header File

       Defined in SDL3/SDL_init.h

Name

       SDL_AppQuit_func - Function pointer typedef for SDL_AppQuit .

Synopsis

#include"SDL3/SDL.h"typedefvoid(SDLCALL*SDL_AppQuit_func)(void*appstate,SDL_AppResultresult);

See Also