MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / SaveFile

Method SaveFile

src/xml/tinyxml2.cpp:1721–1730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1719
1720
1721XMLError XMLDocument::SaveFile( const char* filename, bool compact ) {
1722 FILE* fp = callfopen( filename, "w" );
1723 if ( !fp ) {
1724 SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0 );
1725 return _errorID;
1726 }
1727 SaveFile(fp, compact);
1728 fclose( fp );
1729 return _errorID;
1730}
1731
1732
1733XMLError XMLDocument::SaveFile( FILE* fp, bool compact ) {

Callers

nothing calls this directly

Calls 1

callfopenFunction · 0.85

Tested by

no test coverage detected