game/axl_memory.h

15 lines
272 B
C

#ifndef AXL_MEMORY_H
#define AXL_MEMORY_H
#ifndef AXL_HEAP_SIZE
#define AXL_HEAP_SIZE 1024 * 1024 * 16
#endif
#include "axl_types.h"
void axl_init(void);
void* axl_malloc(u32 size);
void* axl_memset(void* ptr, i8 c, u32 n);
void axl_free(void* ptr);
#endif