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

Function prepend_node

Source/ThirdParty/pugixml/pugixml.cpp:652–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 3

prepend_childMethod · 0.85
prepend_copyMethod · 0.85
prepend_moveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected