27#ifndef LIBRISHKA_MEM_H
28#define LIBRISHKA_MEM_H
41 static void initialize();
Class for handling memory management operations in Rishka applications.
Definition: memory.h:39
static any realloc(any ptr, usize size)
Reallocate memory.
Definition: librishka_mem.cpp:110
static any alloc(usize size)
Allocate memory.
Definition: librishka_mem.cpp:69
static any calloc(usize num, usize size)
Allocate and clear memory.
Definition: librishka_mem.cpp:101
static any set(any dest, u8 c, usize n)
Set memory values.
static void free(any ptr)
Free memory.
Definition: librishka_mem.cpp:91
Header file for common data types used in Rishka applications.
unsigned char u8
Alias for the unsigned 8-bit integer type.
Definition: types.h:70
void * any
Alias for the generic pointer type.
Definition: types.h:100
u32 usize
Alias for the unsigned integer type representing size.
Definition: types.h:94