Allocating and Freeing Memory

Vermont Views makes extensive use of memory that is dynamically allocated from the free data space (the heap). Within the Vermont Views functions, memory is allocated and freed by using the Vermont Views get memory function, mem_get() and the free memory function, mem_free(). These functions are available for you to use. You may prefer to use them instead of the functions provided by your compiler, because mem_get() does some limited error checking.

More:

Allocating Memory from the Heap

Allocating a Blank String from the Heap

Freeing Allocated Memory


Home Contents Previous Next