formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT)

Memory

Description

Runtime memory functions. This is a set of memory management functions. The basic memory functions are provided to allocate, resize, move/copy and dispose of memory. These functions should only be used for allocating and using memory in a temporary fashion.
The fz_mem_zone functions provide a more advanced method for managing memory. Mem Zones are allocated in large chunks of memory then sub-allocated for pointer allocation. There are two types of memory zones, static and dynamic. Static mem zones are allocated once and provide only a fixed zone size from which to sub-allocate. This is useful for allocating global variables and tables/arrays of fixed or maximum size. Dynamic mem zones will grow by a specified increment size as required for mem allocation or pointer reallocation.

Function Sets

fz_fzrt_mem_fset