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_main_func - The prototype for the application's main() function

Availability

       This datatype is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                               SDL_main_func(3type)

Function Parameters

argc   an ANSI-C style main function's argc.

       argv   an ANSI-C style main function's argv.

Name

       SDL_main_func - The prototype for the application's main() function

Return Value

       Returns  an  ANSI-C  main return code; generally 0 is considered successful program completion, and small
       non-zero values are considered errors.

Synopsis

#include<SDL3/SDL_main.h>typedefint(SDLCALL*SDL_main_func)(intargc,char*argv[]);

See Also