mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
libc neutral random function derived from a drand48() implementation added. Will be used to replace Lua's math.random implementation.
This commit is contained in:
7
src/rand.h
Normal file
7
src/rand.h
Normal file
@ -0,0 +1,7 @@
|
||||
#ifndef REDIS_RANDOM_H
|
||||
#define REDIS_RANDOM_H
|
||||
|
||||
int32_t redisLrand48();
|
||||
void redisSrand48(int32_t seedval);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user