From 17a0fe3a0c1cf1972ef427d5cbdc8cacb9a51829 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Sun, 5 Nov 2023 14:06:05 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- docs/README-main-functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README-main-functions.md b/docs/README-main-functions.md index b3de1e1e5..d0d267e94 100644 --- a/docs/README-main-functions.md +++ b/docs/README-main-functions.md @@ -122,7 +122,7 @@ find you enjoy structuring your program like this more! ## How to use main callbacks in SDL3 -To enable the callback entry points, you include SDL_main with an extra define +To enable the callback entry points, you include SDL_main.h with an extra define, from a single source file in your project: ```c @@ -130,7 +130,7 @@ from a single source file in your project: #include ``` -Once you do this, you do not include a "main" function at all (and if you do, +Once you do this, you do not write a "main" function at all (and if you do, the app will likely fail to link). Instead, you provide the following functions: