Ensure that all functions that follow the SDL_GetStringRule return temporary memory

This commit is contained in:
Sam Lantinga committed 2024-07-19 12:22:03 -07:00
1 parent fd9fe1bb7b
commit 68322ac851
12 files changed
+15 -36

No files matched your search

-2
View File
@@ -48,8 +48,6 @@ extern "C" {
* - "iOS"
* - "Android"
*
* The returned string follows the SDL_GetStringRule, and will be automatically freed later.
*
* \returns the name of the platform. If the correct platform name is not
* available, returns a string beginning with the text "Unknown".
*