HeapAllocHighThrow Function (ROM Call 0x94)

alloc.h

HANDLE HeapAllocHighThrow (unsigned long Size);

Performs HeapAllocHigh, and throws an error if not successful.

HeapAllocHighThrow calls HeapAllocHigh and throws a memory error if there is not enough memory. Otherwise, it returns the handle of the allocated block.


Uses: HeapAllocHigh
Used by: cmd_sinreg, cmd_sorta, cmd_sortd, push_determinant, push_red_row_ech, push_row_echelon, push_simult, push_sq_matrix_to_whole_number, ROM Call 0x494, ROM Call 0x495