include/SDL_test_log.h
changeset 7191 75360622e65f
parent 6885 700f1b25f77f
child 8149 681eb46b8ac4
equal deleted inserted replaced
7190:11612d544fcd 7191:75360622e65f
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 
    21 
    22 /**
    22 /**
    23  *  \file SDL_test_log.h
    23  *  \file SDL_test_log.h
    24  *  
    24  *
    25  *  Include file for SDL test framework.
    25  *  Include file for SDL test framework.
    26  *
    26  *
    27  *  This code is a part of the SDL2_test library, not the main SDL library.
    27  *  This code is a part of the SDL2_test library, not the main SDL library.
    28  */
    28  */
    29 
    29 
    30 /* 
    30 /*
    31  *
    31  *
    32  *  Wrapper to log in the TEST category
    32  *  Wrapper to log in the TEST category
    33  *
    33  *
    34  */
    34  */
    35 
    35 
    37 #define _SDL_test_log_h
    37 #define _SDL_test_log_h
    38 
    38 
    39 #include "begin_code.h"
    39 #include "begin_code.h"
    40 /* Set up for C function definitions, even when using C++ */
    40 /* Set up for C function definitions, even when using C++ */
    41 #ifdef __cplusplus
    41 #ifdef __cplusplus
    42 /* *INDENT-OFF* */
       
    43 extern "C" {
    42 extern "C" {
    44 /* *INDENT-ON* */
       
    45 #endif
    43 #endif
    46 
    44 
    47 /**
    45 /**
    48  * \brief Prints given message with a timestamp in the TEST category and INFO priority.
    46  * \brief Prints given message with a timestamp in the TEST category and INFO priority.
    49  *
    47  *
    58  */
    56  */
    59 void SDLTest_LogError(const char *fmt, ...);
    57 void SDLTest_LogError(const char *fmt, ...);
    60 
    58 
    61 /* Ends C function definitions when using C++ */
    59 /* Ends C function definitions when using C++ */
    62 #ifdef __cplusplus
    60 #ifdef __cplusplus
    63 /* *INDENT-OFF* */
       
    64 }
    61 }
    65 /* *INDENT-ON* */
       
    66 #endif
    62 #endif
    67 #include "close_code.h"
    63 #include "close_code.h"
    68 
    64 
    69 #endif /* _SDL_test_log_h */
    65 #endif /* _SDL_test_log_h */
    70 
    66