2
0
Эх сурвалжийг харах

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot 4 сар өмнө
parent
commit
a314a58e7e

+ 3 - 0
include/SDL3/SDL_log.h

@@ -206,6 +206,9 @@ extern SDL_DECLSPEC void SDLCALL SDL_ResetLogPriorities(void);
  * SDL_LOG_PRIORITY_WARN and higher have a prefix showing their priority, e.g.
  * SDL_LOG_PRIORITY_WARN and higher have a prefix showing their priority, e.g.
  * "WARNING: ".
  * "WARNING: ".
  *
  *
+ * This function makes a copy of its string argument, **prefix**, so it is not
+ * necessary to keep the value of **prefix** alive after the call returns.
+ *
  * \param priority the SDL_LogPriority to modify.
  * \param priority the SDL_LogPriority to modify.
  * \param prefix the prefix to use for that log priority, or NULL to use no
  * \param prefix the prefix to use for that log priority, or NULL to use no
  *               prefix.
  *               prefix.