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

Function insert_attribute_before

Source/ThirdParty/pugixml/pugixml.cpp:770–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768 }
769
770 inline void insert_attribute_before(xml_attribute_struct* attr, xml_attribute_struct* place, xml_node_struct* node)
771 {
772 if (place->prev_attribute_c->next_attribute)
773 place->prev_attribute_c->next_attribute = attr;
774 else
775 node->first_attribute = attr;
776
777 attr->prev_attribute_c = place->prev_attribute_c;
778 attr->next_attribute = place;
779 place->prev_attribute_c = attr;
780 }
781
782 inline void remove_attribute(xml_attribute_struct* attr, xml_node_struct* node)
783 {

Callers 2

insert_copy_beforeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected