| 721 | } |
| 722 | |
| 723 | inline void append_attribute(xml_attribute_struct* attr, xml_node_struct* node) |
| 724 | { |
| 725 | xml_attribute_struct* head = node->first_attribute; |
| 726 | |
| 727 | if (head) |
| 728 | { |
| 729 | xml_attribute_struct* tail = head->prev_attribute_c; |
| 730 | |
| 731 | tail->next_attribute = attr; |
| 732 | attr->prev_attribute_c = tail; |
| 733 | head->prev_attribute_c = attr; |
| 734 | } |
| 735 | else |
| 736 | { |
| 737 | node->first_attribute = attr; |
| 738 | attr->prev_attribute_c = attr; |
| 739 | } |
| 740 | } |
| 741 | |
| 742 | inline void prepend_attribute(xml_attribute_struct* attr, xml_node_struct* node) |
| 743 | { |
no outgoing calls
no test coverage detected