blob: 198861d62480fb1b15fe0d6fd81dac384b76ffcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
* @file random.hpp
* @brief Facilities to generate random numbers.
*/
#ifndef RANDOM_HPP_
#define RANDOM_HPP_
/**
* A generically-named function to start the random number generator.
* This currently redirects to the library's default, but allows for
* a custom generator to be easily implemented.
*/
#define randInit srand
/**
* Gets a random number (is a function).
*/
#define randGet rand
#endif // RANDOM_HPP_
|