Skip to content

Commit a314a58

Browse files
committed
Sync SDL3 wiki -> header
[ci skip]
1 parent d283f46 commit a314a58

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/SDL3/SDL_log.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ extern SDL_DECLSPEC void SDLCALL SDL_ResetLogPriorities(void);
206206
* SDL_LOG_PRIORITY_WARN and higher have a prefix showing their priority, e.g.
207207
* "WARNING: ".
208208
*
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+
*
209212
* \param priority the SDL_LogPriority to modify.
210213
* \param prefix the prefix to use for that log priority, or NULL to use no
211214
* prefix.

0 commit comments

Comments
 (0)