MCPcopy Create free account
hub / github.com/JayXon/Leanify / LoadFile

Method LoadFile

lib/tinyxml2/tinyxml2.cpp:1814–1825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1812
1813
1814XMLError XMLDocument::LoadFile( const char* filename )
1815{
1816 Clear();
1817 FILE* fp = callfopen( filename, "rb" );
1818 if ( !fp ) {
1819 SetError( XML_ERROR_FILE_NOT_FOUND, filename, 0 );
1820 return _errorID;
1821 }
1822 LoadFile( fp );
1823 fclose( fp );
1824 return _errorID;
1825}
1826
1827
1828XMLError XMLDocument::LoadFile( FILE* fp )

Callers

nothing calls this directly

Calls 1

callfopenFunction · 0.85

Tested by

no test coverage detected