Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPoolAlloc_SetBlockCapacity ( kPoolAlloc  object,
kSize  size 
)

Sets the maximum total amount of memory that can be used for block-based allocations.

Blocks are dynamically allocated when needed; this property controls the maximum amount of memory that can be used for blocks. This property is kSIZE_MAX by default.

Parameters
objectkPoolAlloc object.
sizeBlock memory capacity, in bytes.
Returns
Operation status.