1 # Linked List |
1 # Linked List |
2 |
2 |
3 <warning> |
3 <warning> |
4 Outdated - Rewrite! |
4 Outdated Section - will be updated soon! |
5 </warning> |
5 </warning> |
6 |
6 |
7 On top of implementing the list interface, this header also defines several low-level functions that |
7 On top of implementing the list interface, this header also defines several low-level functions that |
8 work with arbitrary structures. |
8 work with arbitrary structures. |
9 Low-level functions, in contrast to the high-level list interface, can easily be recognized by their snake-casing. |
9 Low-level functions, in contrast to the high-level list interface, can easily be recognized by their snake-casing. |
28 cx_linked_list_link(&c, &d, loc_prev, loc_next); |
28 cx_linked_list_link(&c, &d, loc_prev, loc_next); |
29 |
29 |
30 cx_linked_list_at(&a, 0, loc_next, 2); // returns pointer to c |
30 cx_linked_list_at(&a, 0, loc_next, 2); // returns pointer to c |
31 ``` |
31 ``` |
32 |
32 |
|
33 <!-- |
33 ## Undocumented Symbols (TODO) |
34 ## Undocumented Symbols (TODO) |
34 ### cx_linked_list_add |
35 ### cx_linked_list_add |
35 ### cx_linked_list_at |
36 ### cx_linked_list_at |
36 ### cx_linked_list_compare |
37 ### cx_linked_list_compare |
37 ### cxLinkedListCreate |
38 ### cxLinkedListCreate |
49 ### cx_linked_list_remove_chain |
50 ### cx_linked_list_remove_chain |
50 ### cx_linked_list_reverse |
51 ### cx_linked_list_reverse |
51 ### cx_linked_list_size |
52 ### cx_linked_list_size |
52 ### cx_linked_list_sort |
53 ### cx_linked_list_sort |
53 ### cx_linked_list_unlink |
54 ### cx_linked_list_unlink |
|
55 --> |
|
56 |
|
57 <seealso> |
|
58 <category ref="apidoc"> |
|
59 <a href="https://ucx.sourceforge.io/api/linked__list_8h.html">linked_list.h</a> |
|
60 </category> |
|
61 </seealso> |