Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SDL_test_random.h « SDL2 « include « sdlew « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 61a0c1b7a093e547e3b93a292f393872eb19234b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

#ifndef _SDL_test_random_h
#define _SDL_test_random_h

#include "begin_code.h"

#ifdef __cplusplus
extern "C" {
#endif

#define SDLTest_RandomInt(c)        ((int)SDLTest_Random(c))

  typedef struct {
    unsigned int a;
    unsigned int x;
    unsigned int c;
    unsigned int ah;
    unsigned int al;
  } SDLTest_RandomContext;

 void SDLTest_RandomInit(SDLTest_RandomContext * rndContext, unsigned int xi,
                  unsigned int ci);

 void SDLTest_RandomInitTime(SDLTest_RandomContext *rndContext);

 unsigned int SDLTest_Random(SDLTest_RandomContext *rndContext);

#ifdef __cplusplus
}
#endif
#include "close_code.h"

#endif