SDL_main_func
The prototype for the application's main() function
- Provided by: libsdl3-doc (Version: 3.2.20+ds-2)
- Source: libsdl3
- Report a bug
The prototype for the application's main() function
#include <SDL3/SDL_main.h>
typedef int (SDLCALL *SDL_main_func)(int argc, char *argv[]);
Returns an ANSI-C main return code; generally 0 is considered successful program completion, and small non-zero values are considered errors.
This datatype is available since SDL 3.2.0.