src/cx/linked_list.h

changeset 400
8cd274352419
parent 398
8d506ed6c1c0
child 401
e6a8f7fb0c45
equal deleted inserted replaced
399:8902fcd1e057 400:8cd274352419
27 */ 27 */
28 28
29 #ifndef UCX_LINKED_LIST_H 29 #ifndef UCX_LINKED_LIST_H
30 #define UCX_LINKED_LIST_H 30 #define UCX_LINKED_LIST_H
31 31
32 #include <stddef.h>
32 #include "list.h" 33 #include "list.h"
33 34
34 void *cx_linked_list_last(void **begin, void **end, off_t loc_next); 35 void *cx_linked_list_last(void **begin, void **end, ptrdiff_t loc_next);
35 36
36 int cx_linked_list_add(void **begin, void **end, off_t loc_next, off_t loc_prev, void *newnode); 37 int cx_linked_list_add(void **begin, void **end, ptrdiff_t loc_next, ptrdiff_t loc_prev, void *newnode);
37 38
38 CxList cxLinkedListCreate(CxAllocator allocator, CxListComparator comparator); 39 CxList cxLinkedListCreate(CxAllocator allocator, CxListComparator comparator);
39 40
40 extern cx_list_class cx_linked_list_class; 41 extern cx_list_class cx_linked_list_class;
41 42

mercurial