Sync SDL3 wiki -> header
This commit is contained in:
@@ -152,19 +152,19 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef SDL_WIKI_DOCUMENTATION_SECTION
|
#ifdef SDL_WIKI_DOCUMENTATION_SECTION
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inform SDL to use the main callbacks instead of main.
|
* Inform SDL to use the main callbacks instead of main.
|
||||||
*
|
*
|
||||||
* SDL does not define this macro, but will check if it is defined to
|
* SDL does not define this macro, but will check if it is defined to any
|
||||||
* any value in SDL_main.h. If defined, SDL will expect the app
|
* value in SDL_main.h. If defined, SDL will expect the app to provide several
|
||||||
* to provide several functions: SDL_AppInit, SDL_AppEvent,
|
* functions: SDL_AppInit, SDL_AppEvent, SDL_AppIterate, and SDL_AppQuit. The
|
||||||
* SDL_AppIterate, and SDL_AppQuit. The app should not provide
|
* app should not provide a `main` function in this case, and doing so will
|
||||||
* a `main` function in this case, and doing so will likely cause
|
* likely cause the build to fail.
|
||||||
* the build to fail.
|
|
||||||
*
|
*
|
||||||
* Please see [README/main-functions](README/main-functions), (or
|
* Please see [README/main-functions](README/main-functions), (or
|
||||||
* docs/README-main-functions.md in the source tree) for a more
|
* docs/README-main-functions.md in the source tree) for a more detailed
|
||||||
* detailed explanation.
|
* explanation.
|
||||||
*
|
*
|
||||||
* \since This macro is used by the headers since SDL 3.0.0.
|
* \since This macro is used by the headers since SDL 3.0.0.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user