1.1 --- a/include/SDL_test_log.h Wed Jun 04 10:56:43 2014 -0700
1.2 +++ b/include/SDL_test_log.h Wed Jun 04 10:56:56 2014 -0700
1.3 @@ -47,14 +47,14 @@
1.4 *
1.5 * \param fmt Message to be logged
1.6 */
1.7 -void SDLTest_Log(const char *fmt, ...);
1.8 +void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
1.9
1.10 /**
1.11 * \brief Prints given message with a timestamp in the TEST category and the ERROR priority.
1.12 *
1.13 * \param fmt Message to be logged
1.14 */
1.15 -void SDLTest_LogError(const char *fmt, ...);
1.16 +void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);
1.17
1.18 /* Ends C function definitions when using C++ */
1.19 #ifdef __cplusplus