|
SoPlex Doxygen Documentation
|
Go to the documentation of this file.
23 #define initDR(ring) ((ring).prev = (ring).next = &(ring))
25 #define init2DR(elem, ring) \
27 (elem).next = (ring).next; \
28 (elem).next->prev = &(elem); \
29 (elem).prev = &(ring); \
30 (ring).next = &(elem); \
33 #define removeDR(ring) \
35 (ring).next->prev = (ring).prev; \
36 (ring).prev->next = (ring).next; \
40 #define mergeDR(ring1, ring2) \
44 (ring1).next = (ring2).next; \
46 (ring1).next->prev = &(ring1); \
47 (ring2).next->prev = &(ring2); \
|