MCPcopy Create free account
hub / github.com/ajkhoury/ReClassEx / SaveFile

Method SaveFile

ReClass/tinyxml2.cpp:2242–2252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2240
2241
2242XMLError XMLDocument::SaveFile( const char* filename, bool compact )
2243{
2244 FILE* fp = callfopen( filename, "w" );
2245 if ( !fp ) {
2246 SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0, 0 );
2247 return _errorID;
2248 }
2249 SaveFile(fp, compact);
2250 fclose( fp );
2251 return _errorID;
2252}
2253
2254
2255XMLError XMLDocument::SaveFile( FILE* fp, bool compact )

Callers 1

SaveXMLMethod · 0.80

Calls 2

callfopenFunction · 0.85
ClearErrorFunction · 0.85

Tested by

no test coverage detected