MCPcopy Create free account
hub / github.com/cemu-project/Cemu / InsertChildPreamble

Method InsertChildPreamble

src/util/tinyxml2/tinyxml2.cpp:1103–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1101 }
1102
1103 void XMLNode::InsertChildPreamble(XMLNode* insertThis) const
1104 {
1105 TIXMLASSERT(insertThis);
1106 TIXMLASSERT(insertThis->_document == _document);
1107
1108 if (insertThis->_parent) {
1109 insertThis->_parent->Unlink(insertThis);
1110 }
1111 else {
1112 insertThis->_document->MarkInUse(insertThis);
1113 insertThis->_memPool->SetTracked();
1114 }
1115 }
1116
1117 const XMLElement* XMLNode::ToElementWithName(const char* name) const
1118 {

Callers

nothing calls this directly

Calls 3

UnlinkMethod · 0.80
MarkInUseMethod · 0.80
SetTrackedMethod · 0.80

Tested by

no test coverage detected