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

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SDL_visualtest_random_variator.h
Go to the documentation of this file.
/* See COPYING.txt for the full license governing this code. */
#include "SDL_visualtest_harness_argparser.h"
#include "SDL_visualtest_variator_common.h"
#ifndef _SDL_visualtest_random_variator_h
#define _SDL_visualtest_random_variator_h
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif
typedef struct SDLVisualTest_RandomVariator
{
SDLVisualTest_Variation variation;
SDLVisualTest_SUTConfig config;
char buffer[MAX_SUT_ARGS_LEN];
} SDLVisualTest_RandomVariator;
int SDLVisualTest_InitRandomVariator(SDLVisualTest_RandomVariator* variator,
SDLVisualTest_SUTConfig* config, Uint64 seed);
char* SDLVisualTest_GetNextRandomVariation(SDLVisualTest_RandomVariator* variator);
void SDLVisualTest_FreeRandomVariator(SDLVisualTest_RandomVariator* variator);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}
#endif
#endif /* _SDL_visualtest_random_variator_h */