MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / document_element

Method document_element

src/pugiXML/pugixml.cpp:5327–5334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5325 }
5326
5327 PUGI__FN xml_node xml_document::document_element() const
5328 {
5329 for (xml_node_struct* i = _root->first_child; i; i = i->next_sibling)
5330 if ((i->header & impl::xml_memory_page_type_mask) + 1 == node_element)
5331 return xml_node(i);
5332
5333 return xml_node();
5334 }
5335
5336#ifndef PUGIXML_NO_STL
5337 PUGI__FN std::string PUGIXML_FUNCTION as_utf8(const wchar_t* str)

Callers

nothing calls this directly

Calls 1

xml_nodeClass · 0.85

Tested by

no test coverage detected