src/cx/linked_list.h

changeset 415
067aa769796a
parent 412
af766caea48d
child 438
cd3069757010
equal deleted inserted replaced
414:81a4c3a63e65 415:067aa769796a
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;
42 46
43 void cxLinkedListDestroy(CxList list); 47 void cxLinkedListDestroy(CxList list);
44 48
45 size_t cxLinkedListRecalculateSize(CxList list); 49 size_t cxLinkedListRecalculateSize(CxList list);
46 50
51 #ifdef __cplusplus
52 } /* extern "C" */
53 #endif
54
47 #endif /* UCX_LINKED_LIST_H */ 55 #endif /* UCX_LINKED_LIST_H */

mercurial