Sync wiki -> headers

This commit is contained in:
Ryan C. Gordon 2023-11-03 10:13:46 -04:00
parent ea02630143
commit 70d75b4a23
No known key found for this signature in database
GPG key ID: FA148B892AB48044
2 changed files with 8 additions and 7 deletions

View file

@ -389,10 +389,10 @@ extern DECLSPEC int SDLCALL SDL_RunApp(int argc, char* argv[], SDL_main_func mai
/** /**
* An entry point for SDL's use in SDL_MAIN_USE_CALLBACKS. * An entry point for SDL's use in SDL_MAIN_USE_CALLBACKS.
* *
* Generally, you should not call this function directly. This only exists * Generally, you should not call this function directly. This only exists to
* to hand off work into SDL as soon as possible, where it has a lot more * hand off work into SDL as soon as possible, where it has a lot more control
* control and functionality available, and make the inline code in * and functionality available, and make the inline code in SDL_main.h as
* SDL_main.h as small as possible. * small as possible.
* *
* Not all platforms use this, it's actual use is hidden in a magic * Not all platforms use this, it's actual use is hidden in a magic
* header-only library, and you should not call this directly unless you * header-only library, and you should not call this directly unless you
@ -406,7 +406,8 @@ extern DECLSPEC int SDLCALL SDL_RunApp(int argc, char* argv[], SDL_main_func mai
* \param appquit The application's SDL_AppQuit function * \param appquit The application's SDL_AppQuit function
* \returns standard Unix main return value * \returns standard Unix main return value
* *
* \threadsafety It is not safe to call this anywhere except as the only function call in SDL_main. * \threadsafety It is not safe to call this anywhere except as the only
* function call in SDL_main.
* *
* \since This function is available since SDL 3.0.0. * \since This function is available since SDL 3.0.0.
*/ */

View file

@ -140,8 +140,8 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_UnloadLibrary(void);
* This should be called after either calling SDL_Vulkan_LoadLibrary() or * This should be called after either calling SDL_Vulkan_LoadLibrary() or
* creating an SDL_Window with the `SDL_WINDOW_VULKAN` flag. * creating an SDL_Window with the `SDL_WINDOW_VULKAN` flag.
* *
* On return, the variable pointed to by `pCount` will be set to the number * On return, the variable pointed to by `pCount` will be set to the number of
* of elements returned, suitable for using with * elements returned, suitable for using with
* VkInstanceCreateInfo::enabledExtensionCount, and the returned array can be * VkInstanceCreateInfo::enabledExtensionCount, and the returned array can be
* used with VkInstanceCreateInfo::ppEnabledExtensionNames, for calling * used with VkInstanceCreateInfo::ppEnabledExtensionNames, for calling
* Vulkan's vkCreateInstance API. * Vulkan's vkCreateInstance API.