MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / SaveFile

Method SaveFile

Source/ThirdParty/tinyxml2/tinyxml2.cpp:2048–2058  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2046
2047
2048XMLError XMLDocument::SaveFile( const char* filename, bool compact )
2049{
2050 FILE* fp = callfopen( filename, "w" );
2051 if ( !fp ) {
2052 SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0 );
2053 return _errorID;
2054 }
2055 SaveFile(fp, compact);
2056 fclose( fp );
2057 return _errorID;
2058}
2059
2060
2061XMLError XMLDocument::SaveFile( FILE* fp, bool compact )

Callers

nothing calls this directly

Calls 1

callfopenFunction · 0.85

Tested by

no test coverage detected