Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPoolAlloc_SetTotalCapacity | ( | kPoolAlloc | object,
|  | kSize | size
| ) |  |

Sets the total amount of memory that can be requested from the underlying allocator.

This property is kSIZE_MAX by default.

Parameters

  object | kPoolAlloc object.
  size | Amount of memory that can be requested from underlying allocator, in bytes.

Returns
  Operation status.