src/ucx/array.h

changeset 365
72da0e4cbf4a
parent 357
0f5732f0dc00
child 369
28a8ccc442b0
equal deleted inserted replaced
364:5577d6c27a33 365:72da0e4cbf4a
172 172
173 /** 173 /**
174 * Initializes a UCX array structure using the specified allocator. 174 * Initializes a UCX array structure using the specified allocator.
175 * The structure must be uninitialized as the data pointer will be overwritten. 175 * The structure must be uninitialized as the data pointer will be overwritten.
176 * 176 *
177 * @param array the structure to initialize
177 * @param capacity the initial capacity 178 * @param capacity the initial capacity
178 * @param elemsize the element size 179 * @param elemsize the element size
179 * @param allocator the allocator to use 180 * @param allocator the allocator to use
180 */ 181 */
181 void ucx_array_init_a(UcxArray* array, size_t capacity, size_t elemsize, 182 void ucx_array_init_a(UcxArray* array, size_t capacity, size_t elemsize,

mercurial