cf_array_fit¶
Category: array
GitHub: cute_array.h
Ensures the array can hold at least n elements, growing if necessary.
| Parameters | Description |
|---|---|
a |
The array. Modified in-place. |
n |
The minimum number of elements to reserve capacity for. |
Remarks¶
Shortform: afit(a, n).