union HEAP_STATE
The heap's 64 slots, the first two holding the next free EWRAM and IWRAM addresses.
Declared in definitions.h.
Fields
| Name | Description | |
|---|---|---|
struct { void * | nextEwram, nextIwram, blocks, heap ; void *nextIwram; void *blocks[62]; } heap | the EWRAM pool's next free byte, up to EWRAM_END |
void * | slots [64] | Each slot's block once allocated, else null; slots 0 and 1 are the pool pointers. |
Description
The heap's 64 slots, the first two holding the next free EWRAM and IWRAM addresses.
union HEAP_STATE
Referenced by mnIconDecompress(), mnMessageDecodeRaw(), offsetof, syHeapAllocate(), syHeapAllocateEWRAM(), syHeapGetRemainingEWRAM(), syHeapGetRemainingIWRAM(), syHeapInit(), syHeapSlotAllocate(), syHeapSlotAllocateEWRAM() and syVBlankHandler().
Definition at line 750 of file definitions.h.
Fields in detail
nextEwram, nextIwram, blocks, heap
struct { void *nextEwram; void *nextIwram; void *blocks[62]; } heap
the EWRAM pool's next free byte, up to EWRAM_END
the IWRAM pool's next free byte, up to the heap's end
end
heap slots 2 to 63
slots
void *slots[64]
Each slot's block once allocated, else null; slots 0 and 1 are the pool pointers.