Updated documentation for functions that return temporary memory

This commit is contained in:
Sam Lantinga committed 2024-07-19 12:22:03 -07:00
1 parent 68322ac851
commit 71a60d4c0e
24 files changed
+85 -146

No files matched your search

+1 -1
View File
@@ -330,7 +330,7 @@ extern SDL_DECLSPEC SDL_Thread * SDLCALL SDL_CreateThreadWithPropertiesRuntime(S
/**
* Get the thread name as it was specified in SDL_CreateThread().
*
* The returned string follows the SDL_GetStringRule, and will be automatically freed later.
* This returns temporary memory which will be automatically freed later, and can be claimed with SDL_ClaimTemporaryMemory().
*
* \param thread the thread to query.
* \returns a pointer to a UTF-8 string that names the specified thread, or