MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / DeleteNode

Method DeleteNode

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:1168–1183  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

1166}
1167
1168/*static*/ void XMLNode::DeleteNode(XMLNode* node)
1169{
1170 if (node == 0)
1171 {
1172 return;
1173 }
1174 TIXMLASSERT(node->_document);
1175 if (!node->ToDocument())
1176 {
1177 node->_document->MarkInUse(node);
1178 }
1179
1180 MemPool* pool = node->_memPool;
1181 node->~XMLNode();
1182 pool->Free(node);
1183}
1184
1185void XMLNode::InsertChildPreamble(XMLNode* insertThis) const
1186{

Callers

nothing calls this directly

Calls 5

MarkInUseMethod · 0.80
~XMLNodeMethod · 0.80
DeleteChildMethod · 0.80
SetTrackedMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected