include/SDL_test.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.h
    23  *  \file SDL_test.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 
    44 #include "SDL_test_compare.h"
    44 #include "SDL_test_compare.h"
    45 
    45 
    46 #include "begin_code.h"
    46 #include "begin_code.h"
    47 /* Set up for C function definitions, even when using C++ */
    47 /* Set up for C function definitions, even when using C++ */
    48 #ifdef __cplusplus
    48 #ifdef __cplusplus
    49 /* *INDENT-OFF* */
       
    50 extern "C" {
    49 extern "C" {
    51 /* *INDENT-ON* */
       
    52 #endif
    50 #endif
    53 
    51 
    54 /* Global definitions */
    52 /* Global definitions */
    55 
    53 
    56 /* 
    54 /*
    57  * Note: Maximum size of SDLTest log message is less than SDLs limit 
    55  * Note: Maximum size of SDLTest log message is less than SDLs limit
    58  * to ensure we can fit additional information such as the timestamp. 
    56  * to ensure we can fit additional information such as the timestamp.
    59  */
    57  */
    60 #define SDLTEST_MAX_LOGMESSAGE_LENGTH	3584
    58 #define SDLTEST_MAX_LOGMESSAGE_LENGTH   3584
    61 
    59 
    62 /* Ends C function definitions when using C++ */
    60 /* Ends C function definitions when using C++ */
    63 #ifdef __cplusplus
    61 #ifdef __cplusplus
    64 /* *INDENT-OFF* */
       
    65 }
    62 }
    66 /* *INDENT-ON* */
       
    67 #endif
    63 #endif
    68 #include "close_code.h"
    64 #include "close_code.h"
    69 
    65 
    70 #endif /* _SDL_test_h */
    66 #endif /* _SDL_test_h */
    71 
    67