mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-08 10:56:27 +00:00
Added SDL_SetLogPriorityPrefix()
SDL_Log() no longer prints a log prefix by default for SDL_LOG_PRIORITY_INFO and below. The log prefixes can be customized with SDL_SetLogPriorityPrefix().
This commit is contained in:
@@ -742,6 +742,7 @@ SDL3_0.0.0 {
|
||||
SDL_SetLogOutputFunction;
|
||||
SDL_SetLogPriorities;
|
||||
SDL_SetLogPriority;
|
||||
SDL_SetLogPriorityPrefix;
|
||||
SDL_SetMainReady;
|
||||
SDL_SetMemoryFunctions;
|
||||
SDL_SetModState;
|
||||
|
@@ -767,6 +767,7 @@
|
||||
#define SDL_SetLogOutputFunction SDL_SetLogOutputFunction_REAL
|
||||
#define SDL_SetLogPriorities SDL_SetLogPriorities_REAL
|
||||
#define SDL_SetLogPriority SDL_SetLogPriority_REAL
|
||||
#define SDL_SetLogPriorityPrefix SDL_SetLogPriorityPrefix_REAL
|
||||
#define SDL_SetMainReady SDL_SetMainReady_REAL
|
||||
#define SDL_SetMemoryFunctions SDL_SetMemoryFunctions_REAL
|
||||
#define SDL_SetModState SDL_SetModState_REAL
|
||||
|
@@ -777,6 +777,7 @@ SDL_DYNAPI_PROC(int,SDL_SetLinuxThreadPriorityAndPolicy,(Sint64 a, int b, int c)
|
||||
SDL_DYNAPI_PROC(void,SDL_SetLogOutputFunction,(SDL_LogOutputFunction a, void *b),(a,b),)
|
||||
SDL_DYNAPI_PROC(void,SDL_SetLogPriorities,(SDL_LogPriority a),(a),)
|
||||
SDL_DYNAPI_PROC(void,SDL_SetLogPriority,(int a, SDL_LogPriority b),(a,b),)
|
||||
SDL_DYNAPI_PROC(int,SDL_SetLogPriorityPrefix,(SDL_LogPriority a, const char *b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_SetMainReady,(void),(),)
|
||||
SDL_DYNAPI_PROC(int,SDL_SetMemoryFunctions,(SDL_malloc_func a, SDL_calloc_func b, SDL_realloc_func c, SDL_free_func d),(a,b,c,d),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_SetModState,(SDL_Keymod a),(a),)
|
||||
|
Reference in New Issue
Block a user