SDL_main_func.3type - Man Page
The prototype for the application's main() function
Synopsis
#include <SDL3/SDL_main.h> typedef int (SDLCALL *SDL_main_func)(int argc, char *argv[]);
Function Parameters
- argc
an ANSI-C style main function's argc.
- argv
an ANSI-C style main function's argv.
Return Value
Returns an ANSI-C main return code; generally 0 is considered successful program completion, and small non-zero values are considered errors.
Availability
This datatype is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 DATATYPES