Memory functions

These functions can be used to acquire, free, or manipulate memory for EASI variables.

EAlloc()
EAlloc() is used to allocate a new block of memory.
ECast()
ECast() is used to cast a pointer to a given type and length.
EFree()
EFree() is used to deallocate the block of memory associated with a pointer.
ERealloc()
ERealloc() is used to change the size of an allocated block.
MEMCopy()
MEMCopy() is used to efficiently copy blocks of data from one memory array to another.

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.