We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d283f46 commit a314a58Copy full SHA for a314a58
include/SDL3/SDL_log.h
@@ -206,6 +206,9 @@ extern SDL_DECLSPEC void SDLCALL SDL_ResetLogPriorities(void);
206
* SDL_LOG_PRIORITY_WARN and higher have a prefix showing their priority, e.g.
207
* "WARNING: ".
208
*
209
+ * This function makes a copy of its string argument, **prefix**, so it is not
210
+ * necessary to keep the value of **prefix** alive after the call returns.
211
+ *
212
* \param priority the SDL_LogPriority to modify.
213
* \param prefix the prefix to use for that log priority, or NULL to use no
214
* prefix.
0 commit comments