meta: rename to fx

This commit is contained in:
2026-03-16 10:35:43 +00:00
parent 84df46489a
commit e9d0e323f0
233 changed files with 12875 additions and 12869 deletions

View File

@@ -1,8 +1,8 @@
#include "misc.h"
#include <blue/core/random.h>
#include <fx/core/random.h>
void z__b_io_generate_tmp_filename(char *out, size_t len)
void z__fx_io_generate_tmp_filename(char *out, size_t len)
{
static const char *alphabet
= "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
@@ -10,10 +10,10 @@ void z__b_io_generate_tmp_filename(char *out, size_t len)
"89+=-_.";
static const size_t alphabet_len = 67;
b_random_ctx *ctx = b_random_global_ctx();
fx_random_ctx *ctx = fx_random_global_ctx();
for (size_t i = 0; i < len; i++) {
int v = b_random_next_int64(ctx) % alphabet_len;
int v = fx_random_next_int64(ctx) % alphabet_len;
out[i] = alphabet[v];
}