MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSaveFinish

Function xmlSaveFinish

ThirdParty/libxml2/vtklibxml2/xmlsave.c:2249–2260  ·  view source on GitHub ↗

* xmlSaveFinish: * @ctxt: a document saving context * * Close a document saving context, i.e. make sure that all bytes have * been output and free the associated data. * * Available since 2.13.0. * * Returns an xmlParserErrors code. */

Source from the content-addressed store, hash-verified

2247 * Returns an xmlParserErrors code.
2248 */
2249int
2250xmlSaveFinish(xmlSaveCtxtPtr ctxt)
2251{
2252 int ret;
2253
2254 if (ctxt == NULL)
2255 return(XML_ERR_INTERNAL_ERROR);
2256 xmlSaveFlush(ctxt);
2257 ret = ctxt->buf->error;
2258 xmlFreeSaveCtxt(ctxt);
2259 return(ret);
2260}
2261
2262/**
2263 * xmlSaveSetEscape:

Callers 8

xmlDumpElementDeclFunction · 0.85
xmlDumpElementTableFunction · 0.85
xmlDumpAttributeDeclFunction · 0.85
xmlDumpAttributeTableFunction · 0.85
xmlDumpNotationDeclFunction · 0.85
xmlDumpNotationTableFunction · 0.85
xmlDumpEntityDeclFunction · 0.85
xmlDumpEntitiesTableFunction · 0.85

Calls 2

xmlSaveFlushFunction · 0.85
xmlFreeSaveCtxtFunction · 0.85

Tested by

no test coverage detected