You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
541 B
19 lines
541 B
4 years ago
|
#ifndef MP4V2_PLATFORM_NUMBER_RANDOM_H
|
||
|
#define MP4V2_PLATFORM_NUMBER_RANDOM_H
|
||
|
|
||
|
namespace mp4v2 { namespace platform { namespace number {
|
||
|
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
/// Generate 32-bit pseudo-random number.
|
||
|
MP4V2_EXPORT uint32_t random32();
|
||
|
|
||
|
/// Seed pseudo-random number generator.
|
||
|
MP4V2_EXPORT void srandom( uint32_t );
|
||
|
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
}}} // namespace mp4v2::platform::number
|
||
|
|
||
|
#endif // MP4V2_PLATFORM_NUMBER_RANDOM_H
|