From a03829d636d58218f5b427ffe6210658299a6bc8 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Fri, 3 May 2024 13:59:29 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_main.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/include/SDL3/SDL_main.h b/include/SDL3/SDL_main.h index 926ac8258b..4833ecde84 100644 --- a/include/SDL3/SDL_main.h +++ b/include/SDL3/SDL_main.h @@ -406,16 +406,15 @@ typedef int (SDLCALL *SDL_main_func)(int argc, char *argv[]); /** * An app-supplied function for program entry. * - * Apps do not directly create this function; they should create - * a standard ANSI-C `main` function instead. If SDL needs to - * insert some startup code before `main` runs, or the platform - * doesn't actually _use_ a function called "main", SDL will do some - * macro magic to redefine `main` to `SDL_main` and provide its - * own `main`. + * Apps do not directly create this function; they should create a standard + * ANSI-C `main` function instead. If SDL needs to insert some startup code + * before `main` runs, or the platform doesn't actually _use_ a function + * called "main", SDL will do some macro magic to redefine `main` to + * `SDL_main` and provide its own `main`. * - * Apps should include `SDL_main.h` in the same file as their - * `main` function, and they should not use that symbol for anything - * else in that file, as it might get redefined. + * Apps should include `SDL_main.h` in the same file as their `main` function, + * and they should not use that symbol for anything else in that file, as it + * might get redefined. * * This function is only provided by the app if it isn't using * SDL_MAIN_USE_CALLBACKS.