| 629 | } |
| 630 | |
| 631 | inline void append_node(xml_node_struct* child, xml_node_struct* node) |
| 632 | { |
| 633 | child->parent = node; |
| 634 | |
| 635 | xml_node_struct* head = node->first_child; |
| 636 | |
| 637 | if (head) |
| 638 | { |
| 639 | xml_node_struct* tail = head->prev_sibling_c; |
| 640 | |
| 641 | tail->next_sibling = child; |
| 642 | child->prev_sibling_c = tail; |
| 643 | head->prev_sibling_c = child; |
| 644 | } |
| 645 | else |
| 646 | { |
| 647 | node->first_child = child; |
| 648 | child->prev_sibling_c = child; |
| 649 | } |
| 650 | } |
| 651 | |
| 652 | inline void prepend_node(xml_node_struct* child, xml_node_struct* node) |
| 653 | { |
no outgoing calls
no test coverage detected