SDL Visual Test

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SDL_visualtest_random_variator.h
Go to the documentation of this file.
1 /* See COPYING.txt for the full license governing this code. */
8 #include "SDL_visualtest_harness_argparser.h"
9 #include "SDL_visualtest_variator_common.h"
10
11 #ifndef _SDL_visualtest_random_variator_h
12 #define _SDL_visualtest_random_variator_h
13
14 /* Set up for C function definitions, even when using C++ */
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
23 typedef struct SDLVisualTest_RandomVariator
24 {
26 SDLVisualTest_Variation variation;
28 SDLVisualTest_SUTConfig config;
30 char buffer[MAX_SUT_ARGS_LEN];
31 } SDLVisualTest_RandomVariator;
32
38 int SDLVisualTest_InitRandomVariator(SDLVisualTest_RandomVariator* variator,
39 SDLVisualTest_SUTConfig* config, Uint64 seed);
40
47 char* SDLVisualTest_GetNextRandomVariation(SDLVisualTest_RandomVariator* variator);
48
52 void SDLVisualTest_FreeRandomVariator(SDLVisualTest_RandomVariator* variator);
53
54 /* Ends C function definitions when using C++ */
55 #ifdef __cplusplus
56 }
57 #endif
58
59 #endif /* _SDL_visualtest_random_variator_h */