Skip to content
Permalink
Browse files

Added annotations to help code analysis tools

CR: Bruce Dawson
  • Loading branch information
slouken committed Jun 4, 2014
1 parent 529bcf6 commit da6d9a9f2a25ac5c69e8447033715e3d9a89045f

File 5 of 16 in da6d9a9

@@ -47,14 +47,14 @@ extern "C" {
*
* \param fmt Message to be logged
*/
void SDLTest_Log(const char *fmt, ...);
void SDLTest_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);

/**
* \brief Prints given message with a timestamp in the TEST category and the ERROR priority.
*
* \param fmt Message to be logged
*/
void SDLTest_LogError(const char *fmt, ...);
void SDLTest_LogError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1);

/* Ends C function definitions when using C++ */
#ifdef __cplusplus

0 comments on commit da6d9a9

Please sign in to comment.