| 702 | } |
| 703 | |
| 704 | inline void remove_node(xml_node_struct* node) |
| 705 | { |
| 706 | xml_node_struct* parent = node->parent; |
| 707 | |
| 708 | if (node->next_sibling) |
| 709 | node->next_sibling->prev_sibling_c = node->prev_sibling_c; |
| 710 | else |
| 711 | parent->first_child->prev_sibling_c = node->prev_sibling_c; |
| 712 | |
| 713 | if (node->prev_sibling_c->next_sibling) |
| 714 | node->prev_sibling_c->next_sibling = node->next_sibling; |
| 715 | else |
| 716 | parent->first_child = node->next_sibling; |
| 717 | |
| 718 | node->parent = 0; |
| 719 | node->prev_sibling_c = 0; |
| 720 | node->next_sibling = 0; |
| 721 | } |
| 722 | |
| 723 | inline void append_attribute(xml_attribute_struct* attr, xml_node_struct* node) |
| 724 | { |
no outgoing calls
no test coverage detected