dlist.h

changeset 88
308dfa54da3e
parent 87
95553f8ea540
child 99
46ee75d9eba9
equal deleted inserted replaced
87:95553f8ea540 88:308dfa54da3e
35 (LIST)->PREV=(ITEM); \ 35 (LIST)->PREV=(ITEM); \
36 } \ 36 } \
37 (LIST)=(ITEM); 37 (LIST)=(ITEM);
38 38
39 39
40 #define LINK_ITEM_LIST LINK_ITEM 40 #define LINK_ITEM_LAST LINK_ITEM
41 41
42 42
43 #define LINK_ITEM_BEFORE(LIST, BEFORE, ITEM, NEXT, PREV) \ 43 #define LINK_ITEM_BEFORE(LIST, BEFORE, ITEM, NEXT, PREV) \
44 (ITEM)->NEXT=(BEFORE); \ 44 (ITEM)->NEXT=(BEFORE); \
45 (ITEM)->PREV=(BEFORE)->PREV; \ 45 (ITEM)->PREV=(BEFORE)->PREV; \

mercurial