30 #define UCX_LINKED_LIST_H |
30 #define UCX_LINKED_LIST_H |
31 |
31 |
32 #include <stddef.h> |
32 #include <stddef.h> |
33 #include "list.h" |
33 #include "list.h" |
34 |
34 |
|
35 #ifdef __cplusplus |
|
36 extern "C" { |
|
37 #endif |
|
38 |
35 void *cx_linked_list_last(void **begin, void **end, ptrdiff_t loc_next); |
39 void *cx_linked_list_last(void **begin, void **end, ptrdiff_t loc_next); |
36 |
40 |
37 int cx_linked_list_add(void **begin, void **end, ptrdiff_t loc_prev, ptrdiff_t loc_next, void *new_node); |
41 int cx_linked_list_add(void **begin, void **end, ptrdiff_t loc_prev, ptrdiff_t loc_next, void *new_node); |
38 |
42 |
39 extern cx_list_class cx_linked_list_class; |
43 extern cx_list_class cx_linked_list_class; |