SDL_SetStringProperty - Set a string property in a group of properties.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This function makes a copy of the string; the caller does not have to preserve the data after this call
completes.
Function Parameters
props the properties to modify.
name the name of the property to modify.
value the new value of the property, or NULL to delete the property.
Name
SDL_SetStringProperty - Set a string property in a group of properties.
Return Value
for more information.
See Also
SDL_GetStringProperty(3) Simple Directmedia Layer SDL 3.2.20 SDL_SetStringProperty(3)
Synopsis
#include<SDL3/SDL_properties.h>boolSDL_SetStringProperty(SDL_PropertiesIDprops,constchar*name,constchar*value);
Thread Safety
It is safe to call this function from any thread.
