[Main]
Name=HeapCompress
Type=Function
Subtype=ROM Call
Header Files=alloc.h
Definition=void HeapCompress (void);
See Also=alloc.h/HeapShuffle

[ROM Call]
Index=$95

[Description]
Compresses the heap.

[Explanation]
HeapCompress coalesces all used heap blocks, deleting any free blocks from the
heap if possible. If there are any locked blocks, the heap may remain fragmented.
This routine is called automatically by the system whenever it is needed
and usually should not be called by applications.

[References]
In=alloc.h/HeapAlloc, alloc.h/HeapAllocESTACK, alloc.h/HeapAllocHigh, alloc.h/HeapMax, alloc.h/HeapMoveHigh, alloc.h/HeapRealloc, alloc.h/HeapShuffle, unknown.h/time_loop
Out=mem.h/memmove, system.h/NeedStack
