docs/Writerside/topics/array_list.h.md

changeset 1190
a7b913d5d589
parent 1146
151c057faf7c
equal deleted inserted replaced
1188:b0300de92b72 1190:a7b913d5d589
1 # Array List 1 # Array List
2 2
3 <warning> 3 <warning>
4 Outdated - Rewrite! 4 Outdated Section - will be updated soon!
5 </warning> 5 </warning>
6 6
7 Since low-level array lists are just plain arrays, there is no need for such many low-level functions as for linked 7 Since low-level array lists are just plain arrays, there is no need for such many low-level functions as for linked
8 lists. 8 lists.
9 However, there is one extremely powerful function that can be used for several complex tasks: `cx_array_copy`. 9 However, there is one extremely powerful function that can be used for several complex tasks: `cx_array_copy`.
42 If you just want to add one single element to an existing array, you can use the macro `cx_array_add()`. 42 If you just want to add one single element to an existing array, you can use the macro `cx_array_add()`.
43 You can use `CX_ARRAY_DECLARE()` to declare the necessary fields within a structure and then use the 43 You can use `CX_ARRAY_DECLARE()` to declare the necessary fields within a structure and then use the
44 `cx_array_simple_*()` convenience macros to reduce code overhead. 44 `cx_array_simple_*()` convenience macros to reduce code overhead.
45 The convenience macros automatically determine the width of the size/capacity variables. 45 The convenience macros automatically determine the width of the size/capacity variables.
46 46
47 <!--
47 ## Undocumented Symbols (TODO) 48 ## Undocumented Symbols (TODO)
48 ### cx_array_binary_search 49 ### cx_array_binary_search
49 ### cx_array_binary_search_inf 50 ### cx_array_binary_search_inf
50 ### cx_array_binary_search_sup 51 ### cx_array_binary_search_sup
51 ### cx_array_copy 52 ### cx_array_copy
55 ### cxArrayListCreate 56 ### cxArrayListCreate
56 ### cx_array_reallocator 57 ### cx_array_reallocator
57 ### cx_array_reserve 58 ### cx_array_reserve
58 ### cx_array_swap 59 ### cx_array_swap
59 ### cx_array_swap_sbo_size 60 ### cx_array_swap_sbo_size
61 -->
62 <seealso>
63 <category ref="apidoc">
64 <a href="https://ucx.sourceforge.io/api/array__list_8h.html">array_list.h</a>
65 </category>
66 </seealso>

mercurial