mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 06:16:00 +00:00
SDL_main.h: Minor documentation tweaks.
This commit is contained in:
@@ -156,11 +156,11 @@
|
|||||||
/**
|
/**
|
||||||
* 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 any
|
* SDL does not define this macro, but will check if it is defined when
|
||||||
* value in SDL_main.h. If defined, SDL will expect the app to provide several
|
* including `SDL_main.h`. If defined, SDL will expect the app to provide
|
||||||
* functions: SDL_AppInit, SDL_AppEvent, SDL_AppIterate, and SDL_AppQuit. The
|
* several functions: SDL_AppInit, SDL_AppEvent, SDL_AppIterate, and
|
||||||
* app should not provide a `main` function in this case, and doing so will
|
* SDL_AppQuit. The app should not provide a `main` function in this case, and
|
||||||
* likely cause the build to fail.
|
* doing so will likely cause 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 detailed
|
* docs/README-main-functions.md in the source tree) for a more detailed
|
||||||
|
Reference in New Issue
Block a user