|
@@ -42,12 +42,10 @@
|
|
|
extern "C" {
|
|
|
#endif
|
|
|
|
|
|
-
|
|
|
/*
|
|
|
Based on GSOC code by Markus Kauppila <markus.kauppila@gmail.com>
|
|
|
*/
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Note: The fuzzer implementation uses a static instance of random context
|
|
|
* internally which makes it thread-UNsafe.
|
|
@@ -61,7 +59,6 @@ extern "C" {
|
|
|
*/
|
|
|
void SDLCALL SDLTest_FuzzerInit(Uint64 execKey);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns a random Uint8
|
|
|
*
|
|
@@ -76,7 +73,6 @@ Uint8 SDLCALL SDLTest_RandomUint8(void);
|
|
|
*/
|
|
|
Sint8 SDLCALL SDLTest_RandomSint8(void);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns a random Uint16
|
|
|
*
|
|
@@ -91,7 +87,6 @@ Uint16 SDLCALL SDLTest_RandomUint16(void);
|
|
|
*/
|
|
|
Sint16 SDLCALL SDLTest_RandomSint16(void);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns a random integer
|
|
|
*
|
|
@@ -99,7 +94,6 @@ Sint16 SDLCALL SDLTest_RandomSint16(void);
|
|
|
*/
|
|
|
Sint32 SDLCALL SDLTest_RandomSint32(void);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns a random positive integer
|
|
|
*
|
|
@@ -114,7 +108,6 @@ Uint32 SDLCALL SDLTest_RandomUint32(void);
|
|
|
*/
|
|
|
Uint64 SDLTest_RandomUint64(void);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns random Sint64.
|
|
|
*
|
|
@@ -249,7 +242,6 @@ Uint64 SDLCALL SDLTest_RandomUint64BoundaryValue(Uint64 boundary1, Uint64 bounda
|
|
|
*/
|
|
|
Sint8 SDLCALL SDLTest_RandomSint8BoundaryValue(Sint8 boundary1, Sint8 boundary2, SDL_bool validDomain);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns a random boundary value for Sint16 within the given boundaries.
|
|
|
* Boundaries are inclusive, see the usage examples below. If validDomain
|
|
@@ -313,7 +305,6 @@ Sint32 SDLCALL SDLTest_RandomSint32BoundaryValue(Sint32 boundary1, Sint32 bounda
|
|
|
*/
|
|
|
Sint64 SDLCALL SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 boundary2, SDL_bool validDomain);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Returns integer in range [min, max] (inclusive).
|
|
|
* Min and max values can be negative values.
|
|
@@ -327,7 +318,6 @@ Sint64 SDLCALL SDLTest_RandomSint64BoundaryValue(Sint64 boundary1, Sint64 bounda
|
|
|
*/
|
|
|
Sint32 SDLCALL SDLTest_RandomIntegerInRange(Sint32 min, Sint32 max);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Generates random null-terminated string. The minimum length for
|
|
|
* the string is 1 character, maximum length for the string is 255
|
|
@@ -339,7 +329,6 @@ Sint32 SDLCALL SDLTest_RandomIntegerInRange(Sint32 min, Sint32 max);
|
|
|
*/
|
|
|
char * SDLCALL SDLTest_RandomAsciiString(void);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Generates random null-terminated string. The maximum length for
|
|
|
* the string is defined by the maxLength parameter.
|
|
@@ -353,7 +342,6 @@ char * SDLCALL SDLTest_RandomAsciiString(void);
|
|
|
*/
|
|
|
char * SDLCALL SDLTest_RandomAsciiStringWithMaximumLength(int maxLength);
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Generates random null-terminated string. The length for
|
|
|
* the string is defined by the size parameter.
|