HeapAllocESTACK Function (ROM Call 0x91)

alloc.h

HANDLE HeapAllocESTACK (unsigned long Size);

Like HeapAlloc, but reduces the size of the expression stack if necessary.

HeapAllocESTACK works like HeapAlloc, but reduces the size of the expression stack if necessary (i.e. if there is not enough memory). Returns H_NULL if there is not enough memory even after reducing the size of the expression stack.

Note: The information about this routine in releases of TIGCCLIB prior to 2.0 was wrong!


Uses: HeapAlloc, HeapCompress, HeapGetHandle, ER_catch, ER_success, bottom_estack, reset_estack_size, top_estack, NeedStack, ROM Call 0x5C6
Used by: MenuKey, ROM Call 0x421