size_t linearGetSize(void *mem)
Retrieves the allocated size of a buffer.
void * linearRealloc(void *mem, size_t size)
Reallocates a buffer.
void * linearAlloc(size_t size)
Allocates a 0x80-byte aligned buffer.
void * linearMemAlign(size_t size, size_t alignment)
Allocates a buffer aligned to the given size.
u32 linearSpaceFree(void)
Gets the current linear free space.
void linearFree(void *mem)
Frees a buffer.
uint32_t u32
32-bit unsigned integer
Definition: types.h:23