Sync SDL3 wiki -> header
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
## Encoding.
|
## Encoding.
|
||||||
|
|
||||||
Unless otherwise specified, all strings in SDL, across all platforms, are
|
Unless otherwise specified, all strings in SDL, across all platforms, are
|
||||||
UTF-8 encoded.
|
UTF-8 encoded and can represent the full range of [Unicode](https://unicode.org).
|
||||||
|
|
||||||
|
|
||||||
## The SDL Get String Rule.
|
## The SDL Get String Rule.
|
||||||
@@ -45,8 +45,9 @@ When does "the event queue run"? There are several points:
|
|||||||
- SDL_PumpEvents is also called by several other APIs internally:
|
- SDL_PumpEvents is also called by several other APIs internally:
|
||||||
SDL_PollEvent(), SDL_PeepEvents(), SDL_WaitEvent(),
|
SDL_PollEvent(), SDL_PeepEvents(), SDL_WaitEvent(),
|
||||||
SDL_WaitEventTimeout(), and maybe others.
|
SDL_WaitEventTimeout(), and maybe others.
|
||||||
- If you are using [the main callbacks](main-functions), the
|
- If you are using [the main callbacks](main-functions#main-callbacks-in-sdl3),
|
||||||
event queue can run immediately after any of the callback functions return.
|
the event queue can run immediately after any of the callback functions
|
||||||
|
return.
|
||||||
|
|
||||||
Note that these are just guaranteed minimum lifespans; any given string
|
Note that these are just guaranteed minimum lifespans; any given string
|
||||||
might live much longer--some might even be static memory that is _never_
|
might live much longer--some might even be static memory that is _never_
|
||||||
|
|||||||
Reference in New Issue
Block a user