|
libcute 0.1
|
#include <stdint.h>

Go to the source code of this file.
Classes | |
| struct | cu_State |
| struct | cu_RandomState |
Typedefs | |
| typedef uint32_t(* | cu_State_NextFn) (void *ctx) |
Functions | |
| uint32_t | cu_random_seed (void) |
Interface for pseudo-random state.
| typedef uint32_t(* cu_State_NextFn) (void *ctx) |
Callback type to fetch the next random value.
| uint32_t cu_random_seed | ( | void | ) |
Return a somewhat unpredictable seed value.
On hosted systems this tries OS randomness with fallbacks. For freestanding builds a mix of stack and return addresses is used to provide variability.

