SDL: Sync SDL3 wiki -> header (a7bed)

From a7bed810b3499d157655ae6dcc7cd5e8a34fa549 Mon Sep 17 00:00:00 2001
From: SDL Wiki Bot <[EMAIL REDACTED]>
Date: Sat, 17 Aug 2024 06:30:02 +0000
Subject: [PATCH] Sync SDL3 wiki -> header

---
 docs/README-main-functions.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/README-main-functions.md b/docs/README-main-functions.md
index 1e02a96b93f0c..98bf888a3ad3f 100644
--- a/docs/README-main-functions.md
+++ b/docs/README-main-functions.md
@@ -137,7 +137,7 @@ functions:
 First:
 
 ```c
-int SDL_AppInit(void **appstate, int argc, char **argv);
+SDL_AppResult SDL_AppInit(void **appstate, int argc, char **argv);

This will be called once before anything else. argc/argv work like they
@@ -158,7 +158,7 @@ calls.
Then:

-int SDL_AppIterate(void *appstate);
+SDL_AppResult SDL_AppIterate(void *appstate);

This is called over and over, possibly at the refresh rate of the display or
@@ -178,7 +178,7 @@ not check the event queue in this function (SDL_AppEvent exists for that).
Next:

-int SDL_AppEvent(void *appstate, const SDL_Event *event);
+SDL_AppResult SDL_AppEvent(void *appstate, const SDL_Event *event);

This will be called whenever an SDL event arrives. Your app should not call