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

Function prepend_attribute

Source/ThirdParty/pugixml/pugixml.cpp:742–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 2

prepend_attributeMethod · 0.85
prepend_copyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected