src/linked_list.c

changeset 1360
8b29d732f97b
parent 1319
aa1f580f8f59
equal deleted inserted replaced
1359:fd7bbda93c7f 1360:8b29d732f97b
563 } 563 }
564 564
565 // HIGH LEVEL LINKED LIST IMPLEMENTATION 565 // HIGH LEVEL LINKED LIST IMPLEMENTATION
566 566
567 typedef struct cx_linked_list_node cx_linked_list_node; 567 typedef struct cx_linked_list_node cx_linked_list_node;
568 // IMPORTANT: the layout must stay exactly like this, because kv_list.c uses that!
568 struct cx_linked_list_node { 569 struct cx_linked_list_node {
569 cx_linked_list_node *prev; 570 cx_linked_list_node *prev;
570 cx_linked_list_node *next; 571 cx_linked_list_node *next;
571 char payload[]; 572 char payload[];
572 }; 573 };

mercurial