MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / append_node

Function append_node

Source/ThirdParty/pugixml/pugixml.cpp:631–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 4

pugixml.cppFile · 0.85
append_childMethod · 0.85
append_copyMethod · 0.85
append_moveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected