12 #ifndef BLITZ_MEMORY_H
13 #define BLITZ_MEMORY_H
19 #define BBMEM_ALIGNSIZE 16
20 #define BBMEM_ALIGNMASK (BBMEM_ALIGNSIZE - 1)
22 #define BBMEM_MAX_ALLOCSIZE (BBSIZE_MAX - BBMEM_ALIGNSIZE - 4)
44 void bbMemFree(
void *mem);
68 void* bbMemExtend(
void *mem,
BBInt size,
BBInt new_size);
80 void bbMemClear(
void *dst,
BBInt size);
91 void bbMemCopy(
void *dst,
const void *src,
BBInt size);
101 void bbMemMove(
void *dst,
const void *src,
BBInt size);
105 #endif // BLITZ_MEMORY_H