void * MEMDestroyUnitHeap(MEMUnitHeap *heap)
uint32_t MEMCountFreeBlockForUnitHeap(MEMUnitHeap *heap)
MEMUnitHeap * MEMCreateUnitHeapEx(MEMUnitHeap *heap, uint32_t size, uint32_t blockSize, int32_t alignment, uint16_t flags)
MEMHeapHeader header
Definition: unitheap.h:16
void MEMiDumpUnitHeap(MEMUnitHeap *heap)
GLsizeiptr size
Definition: glext.h:6559
Definition: unitheap.h:14
struct MEMUnitHeapFreeBlock * next
Definition: unitheap.h:11
GLuint GLuint GLsizei count
Definition: glext.h:6292
MEMUnitHeapFreeBlock * freeBlocks
Definition: unitheap.h:17
uint32_t MEMCalcHeapSizeForUnitHeap(uint32_t blockSize, uint32_t count, int32_t alignment)
struct MEMUnitHeapFreeBlock MEMUnitHeapFreeBlock
signed int int32_t
Definition: stdint.h:123
static int block
Definition: psp2.c:31
void MEMFreeToUnitHeap(MEMUnitHeap *heap, void *block)
uint32_t blockSize
Definition: unitheap.h:18
GLbitfield flags
Definition: glext.h:7828
unsigned short uint16_t
Definition: stdint.h:125
void * MEMAllocFromUnitHeap(MEMUnitHeap *heap)
unsigned int uint32_t
Definition: stdint.h:126