FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHeapAlloc_AddMemoryRegion ( kHeapAlloc  heapAlloc,
kPointer  address,
kSize  size 
)

Adds a pre-allocated memory region for use of the kHeapAlloc-object.

At least one memory block must be added for each kHeapAlloc instance before any allocation requests. Additional memory regions can be added any time.

Parameters
heapAllockHeapAlloc object.
addressStart address of the pre-allocated memory region.
sizeBlock size, in bytes.
Returns
Operation status.