mirror of https://github.com/encounter/SDL.git
Fixed build error with missing function prototype in the SDL_test_harness.h header
This commit is contained in:
parent
c2837ef634
commit
c1e292fcf8
|
@ -98,6 +98,17 @@ typedef struct SDLTest_TestSuiteReference {
|
||||||
} SDLTest_TestSuiteReference;
|
} SDLTest_TestSuiteReference;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief Generates a random run seed string for the harness. The generated seed will contain alphanumeric characters (0-9A-Z).
|
||||||
|
*
|
||||||
|
* Note: The returned string needs to be deallocated by the caller.
|
||||||
|
*
|
||||||
|
* \param length The length of the seed string to generate
|
||||||
|
*
|
||||||
|
* \returns The generated seed string
|
||||||
|
*/
|
||||||
|
char *SDLTest_GenerateRunSeed(const int length);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Execute a test suite using the given run seed and execution key.
|
* \brief Execute a test suite using the given run seed and execution key.
|
||||||
*
|
*
|
||||||
|
|
|
@ -50,7 +50,7 @@ static Uint32 SDLTest_TestCaseTimeout = 3600;
|
||||||
*
|
*
|
||||||
* \returns The generated seed string
|
* \returns The generated seed string
|
||||||
*/
|
*/
|
||||||
static char *
|
char *
|
||||||
SDLTest_GenerateRunSeed(const int length)
|
SDLTest_GenerateRunSeed(const int length)
|
||||||
{
|
{
|
||||||
char *seed = NULL;
|
char *seed = NULL;
|
||||||
|
|
Loading…
Reference in New Issue