This file contains global type definitions which are used throughout the entire engine and applicatio...
#define KAPI
Import/export qualifier.
Definition: defines.h:177
_Bool b8
8-bit boolean type
Definition: defines.h:58
signed int i32
Signed 32-bit integer.
Definition: defines.h:39
unsigned long long u64
Unsigned 64-bit integer.
Definition: defines.h:28
KAPI b8 kvar_int_get(const char *name, i32 *out_value)
Attempts to obtain a variable value with the given name. Returns false if not found.
void kvar_shutdown(void *state)
Shuts down the KVar system.
KAPI b8 kvar_int_set(const char *name, i32 value)
Attempts to set the value of an existing variable with the given name. Returns false if the variable ...
b8 kvar_initialize(u64 *memory_requirement, void *memory, void *config)
Initializes the KVar system. KVars are global variables that are dynamically created and set/used wit...
KAPI b8 kvar_int_create(const char *name, i32 value)
Creates an integer variable type.