1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 12:59:25 +08:00
Files
Alas/blcrack/cracker/Dobby/external/deprecated/misc-helper/misc-helper/variable_cache.h
2025-11-01 00:23:46 +08:00

18 lines
374 B
C

#ifndef VARIABLE_CACHE_H
#define VARIABLE_CACHE_H
#include <stdint.h>
#define cache_set stash
void cache_set(const char *name, uint64_t value);
#define cache_get(x) cache(x)
#define assert_cache(x) (assert(cache(x)), cache(x))
uint64_t cache_get(const char *name);
int serialized_to_file(const char *filepath);
int unserialized_from_file(const char *filepath);
#endif