meta: rename to fx
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
#ifndef _BLUELIB_RANDOM_H_
|
||||
#define _BLUELIB_RANDOM_H_
|
||||
#ifndef _FX_RANDOM_H_
|
||||
#define _FX_RANDOM_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <blue/core/misc.h>
|
||||
#include <fx/core/misc.h>
|
||||
|
||||
struct b_random_ctx;
|
||||
struct fx_random_ctx;
|
||||
|
||||
struct b_random_algorithm {
|
||||
struct fx_random_algorithm {
|
||||
const char *gen_name;
|
||||
void(*gen_init)(struct b_random_ctx *, unsigned long long seed);
|
||||
uint64_t(*gen_getrand)(struct b_random_ctx *);
|
||||
void(*gen_init)(struct fx_random_ctx *, unsigned long long seed);
|
||||
uint64_t(*gen_getrand)(struct fx_random_ctx *);
|
||||
};
|
||||
|
||||
BLUE_API uint64_t z__b_platform_random_seed(void);
|
||||
BLUE_API uint64_t z__b_platform_random_seed_secure(void);
|
||||
FX_API uint64_t z__fx_platform_random_seed(void);
|
||||
FX_API uint64_t z__fx_platform_random_seed_secure(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user