1 | /* Copyright (c) 2001, Stanford University
|
---|
2 | * All rights reserved.
|
---|
3 | *
|
---|
4 | * See the file LICENSE.txt for information on redistributing this software.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef CR_RAND_H
|
---|
8 | #define CR_RAND_H
|
---|
9 |
|
---|
10 | #include <iprt/cdefs.h>
|
---|
11 |
|
---|
12 | #ifdef __cplusplus
|
---|
13 | extern "C" {
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | DECLEXPORT(void) crRandSeed( unsigned long seed );
|
---|
17 | DECLEXPORT(void) crRandAutoSeed(void);
|
---|
18 | DECLEXPORT(float) crRandFloat( float min, float max );
|
---|
19 | DECLEXPORT(int) crRandInt( int min, int max );
|
---|
20 |
|
---|
21 | #ifdef __cplusplus
|
---|
22 | } /* extern "C" */
|
---|
23 | #endif
|
---|
24 |
|
---|
25 | #endif /* CR_RAND_H */
|
---|