SDL_AppInit_func

Function pointer typedef for SDL_AppInit.

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_AppInit directly.

extern (C) nothrow @nogc
alias SDL_AppInit_func = SDL_AppResult function
(
void** appstate
,
int argc
,
char** argv
)

Return Value

SDL_APP_FAILURE to terminate with an error, SDL_APP_SUCCESS to terminate with success, SDL_APP_CONTINUE to continue.

Meta