| 8 |
8 |
| 9 ```C |
9 ```C |
| 10 #include <cx/array_list.h> |
10 #include <cx/array_list.h> |
| 11 |
11 |
| 12 CxList *cxArrayListCreate(const CxAllocator *allocator, |
12 CxList *cxArrayListCreate(const CxAllocator *allocator, |
| 13 cx_compare_func comparator, size_t elem_size, |
13 size_t elem_size, size_t initial_capacity); |
| 14 size_t initial_capacity); |
|
| 15 |
|
| 16 CxList *cxArrayListCreateSimple(size_t elem_size, |
|
| 17 size_t initial_capacity); |
|
| 18 ``` |
14 ``` |
| 19 |
15 |
| 20 The remaining documentation on this page concentrates on dealing with plain C arrays. |
16 The remaining documentation on this page concentrates on dealing with plain C arrays. |
| 21 |
17 |
| 22 ## Declare Array with Size and Capacity |
18 ## Declare Array with Size and Capacity |