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

Method NewDeclaration

examples/ThirdPartyLibs/tinyxml2/tinyxml2.cpp:2202–2207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2200}
2201
2202XMLDeclaration* XMLDocument::NewDeclaration(const char* str)
2203{
2204 XMLDeclaration* dec = CreateUnlinkedNode<XMLDeclaration>(_commentPool);
2205 dec->SetValue(str ? str : "xml version=\"1.0\" encoding=\"UTF-8\"");
2206 return dec;
2207}
2208
2209XMLUnknown* XMLDocument::NewUnknown(const char* str)
2210{

Callers 1

ShallowCloneMethod · 0.80

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected