| 740 | } |
| 741 | |
| 742 | inline void prepend_attribute(xml_attribute_struct* attr, xml_node_struct* node) |
| 743 | { |
| 744 | xml_attribute_struct* head = node->first_attribute; |
| 745 | |
| 746 | if (head) |
| 747 | { |
| 748 | attr->prev_attribute_c = head->prev_attribute_c; |
| 749 | head->prev_attribute_c = attr; |
| 750 | } |
| 751 | else |
| 752 | attr->prev_attribute_c = attr; |
| 753 | |
| 754 | attr->next_attribute = head; |
| 755 | node->first_attribute = attr; |
| 756 | } |
| 757 | |
| 758 | inline void insert_attribute_after(xml_attribute_struct* attr, xml_attribute_struct* place, xml_node_struct* node) |
| 759 | { |
no outgoing calls
no test coverage detected