Documentation
GitHub
Z / libzlang
0.29.0
C99 runtime library and the Zlang 0.29 source-to-source compiler
Toggle main menu visibility
Loading...
Searching...
No Matches
context.h
Go to the documentation of this file.
1
#ifndef ZLANG_RUNTIME_CONTEXT_H
2
#define ZLANG_RUNTIME_CONTEXT_H
3
4
#include <stddef.h>
5
#include <stdint.h>
6
8
typedef
struct
zlang_runtime_context_t
{
9
uint32_t
random_state_
;
10
}
zlang_runtime_context_t
;
11
13
static
inline
void
zlang_runtime_context_init
(
zlang_runtime_context_t
*context) {
14
if
(context != NULL) {
15
context->
random_state_
= 0x6D2B79F5U;
16
}
17
}
18
19
#endif
/* ZLANG_RUNTIME_CONTEXT_H */
zlang_runtime_context_init
static void zlang_runtime_context_init(zlang_runtime_context_t *context)
Definition
context.h:13
zlang_runtime_context_t
Definition
context.h:8
zlang_runtime_context_t::random_state_
uint32_t random_state_
Definition
context.h:9
zlang
runtime
context.h
Zlang
GitHub
Generated by
1.18.0