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, |