SDL Visual Test: C:/Users/DELL/Work/sdlvisualtest/visualtest/include/SDL_visualtest_variators.h Source File

SDL Visual Test

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SDL_visualtest_variators.h
Go to the documentation of this file.
1 /* See COPYING.txt for the full license governing this code. */
8 #include "SDL_visualtest_exhaustive_variator.h"
9 #include "SDL_visualtest_random_variator.h"
10
11 #ifndef _SDL_visualtest_variators_h
12 #define _SDL_visualtest_variators_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_Variator
24 {
26 SDLVisualTest_VariatorType type;
28 union
29 {
30 SDLVisualTest_ExhaustiveVariator exhaustive;
31 SDLVisualTest_RandomVariator random;
32 } data;
33 } SDLVisualTest_Variator;
34
41 int SDLVisualTest_InitVariator(SDLVisualTest_Variator* variator,
42 SDLVisualTest_SUTConfig* config,
43 SDLVisualTest_VariatorType type,
44 Uint64 seed);
45
52 char* SDLVisualTest_GetNextVariation(SDLVisualTest_Variator* variator);
53
57 void SDLVisualTest_FreeVariator(SDLVisualTest_Variator* variator);
58
59 /* Ends C function definitions when using C++ */
60 #ifdef __cplusplus
61 }
62 #endif
63
64 #endif /* _SDL_visualtest_variators_h */