mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 02:46:08 +08:00
Sync SDL3 wiki -> header
This commit is contained in:
@@ -96,10 +96,10 @@ extern SDL_DECLSPEC int SDLCALL SDL_OutOfMemory(void);
|
|||||||
* Error strings are set per-thread, so an error set in a different thread
|
* Error strings are set per-thread, so an error set in a different thread
|
||||||
* will not interfere with the current thread's operation.
|
* will not interfere with the current thread's operation.
|
||||||
*
|
*
|
||||||
* The returned string does **NOT** follow the SDL_GetStringRule! The
|
* The returned string does **NOT** follow the SDL_GetStringRule! The pointer
|
||||||
* pointer is valid until the current thread's error string is changed, so
|
* is valid until the current thread's error string is changed, so the caller
|
||||||
* the caller should make a copy if the string is to be used after calling
|
* should make a copy if the string is to be used after calling into SDL
|
||||||
* into SDL again.
|
* again.
|
||||||
*
|
*
|
||||||
* \returns a message with information about the specific error that occurred,
|
* \returns a message with information about the specific error that occurred,
|
||||||
* or an empty string if there hasn't been an error message set since
|
* or an empty string if there hasn't been an error message set since
|
||||||
|
|||||||
@@ -339,8 +339,8 @@ extern SDL_DECLSPEC int SDLCALL SDL_GetNumVideoDrivers(void);
|
|||||||
* checked during initialization.
|
* checked during initialization.
|
||||||
*
|
*
|
||||||
* The names of drivers are all simple, low-ASCII identifiers, like "cocoa",
|
* The names of drivers are all simple, low-ASCII identifiers, like "cocoa",
|
||||||
* "x11" or "windows". These never have Unicode characters, and are not
|
* "x11" or "windows". These never have Unicode characters, and are not meant
|
||||||
* meant to be proper names.
|
* to be proper names.
|
||||||
*
|
*
|
||||||
* The returned string follows the SDL_GetStringRule.
|
* The returned string follows the SDL_GetStringRule.
|
||||||
*
|
*
|
||||||
@@ -357,8 +357,8 @@ extern SDL_DECLSPEC const char *SDLCALL SDL_GetVideoDriver(int index);
|
|||||||
* Get the name of the currently initialized video driver.
|
* Get the name of the currently initialized video driver.
|
||||||
*
|
*
|
||||||
* The names of drivers are all simple, low-ASCII identifiers, like "cocoa",
|
* The names of drivers are all simple, low-ASCII identifiers, like "cocoa",
|
||||||
* "x11" or "windows". These never have Unicode characters, and are not
|
* "x11" or "windows". These never have Unicode characters, and are not meant
|
||||||
* meant to be proper names.
|
* to be proper names.
|
||||||
*
|
*
|
||||||
* The returned string follows the SDL_GetStringRule.
|
* The returned string follows the SDL_GetStringRule.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user