Clarify that the SDL_GetStringRule means that SDL will automatically free the memory later.

This commit is contained in:
Sam Lantinga committed 2024-07-19 12:22:03 -07:00
1 parent 0d24b6e9f3
commit d73c7311d5
23 files changed
+66 -69

No files matched your search

+1 -1
View File
@@ -378,7 +378,7 @@ extern SDL_DECLSPEC void *SDLCALL SDL_GetPointerProperty(SDL_PropertiesID props,
/**
* Get a string property from a group of properties.
*
* The returned string follows the SDL_GetStringRule.
* The returned string follows the SDL_GetStringRule, and will be automatically freed later.
*
* \param props the properties to query.
* \param name the name of the property to query.