| 650 | } |
| 651 | |
| 652 | inline void prepend_node(xml_node_struct* child, xml_node_struct* node) |
| 653 | { |
| 654 | child->parent = node; |
| 655 | |
| 656 | xml_node_struct* head = node->first_child; |
| 657 | |
| 658 | if (head) |
| 659 | { |
| 660 | child->prev_sibling_c = head->prev_sibling_c; |
| 661 | head->prev_sibling_c = child; |
| 662 | } |
| 663 | else |
| 664 | child->prev_sibling_c = child; |
| 665 | |
| 666 | child->next_sibling = head; |
| 667 | node->first_child = child; |
| 668 | } |
| 669 | |
| 670 | inline void insert_node_after(xml_node_struct* child, xml_node_struct* node) |
| 671 | { |
no outgoing calls
no test coverage detected