dependencies/SDL/include/SDL_log.h in gosu-2.0.0.pre7 vs dependencies/SDL/include/SDL_log.h in gosu-2.0.0.pre8

- old
+ new

@@ -1,8 +1,8 @@ /* Simple DirectMedia Layer - Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org> + Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. @@ -57,11 +57,11 @@ * \brief The predefined log categories * * By default the application category is enabled at the INFO level, * the assert category is enabled at the WARN level, test is enabled * at the VERBOSE level and all other categories are enabled at the - * CRITICAL level. + * ERROR level. */ typedef enum { SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_CATEGORY_ERROR, @@ -350,10 +350,10 @@ * \sa SDL_LogVerbose * \sa SDL_LogWarn */ extern DECLSPEC void SDLCALL SDL_LogMessageV(int category, SDL_LogPriority priority, - const char *fmt, va_list ap); + SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) SDL_PRINTF_VARARG_FUNCV(3); /** * The prototype for the log output callback function. * * This function is called by SDL when there is new text to be logged.