libplatform/number/random.h Source File
random.h
1 #ifndef MP4V2_PLATFORM_NUMBER_RANDOM_H
2 #define MP4V2_PLATFORM_NUMBER_RANDOM_H
3 
4 namespace mp4v2 { namespace platform { namespace number {
5 
7 
9 MP4V2_EXPORT uint32_t random32();
10 
12 MP4V2_EXPORT void srandom( uint32_t );
13 
15 
16 }}} // namespace mp4v2::platform::number
17 
18 #endif // MP4V2_PLATFORM_NUMBER_RANDOM_H
mp4v2::platform::number::random32
uint32_t random32()
Generate 32-bit pseudo-random number.
mp4v2::platform::number::srandom
void srandom(uint32_t)
Seed pseudo-random number generator.