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

Function xmlSaveErrMemory

ThirdParty/libxml2/vtklibxml2/xmlsave.c:63–69  ·  view source on GitHub ↗

* * * Output error handlers * * * ************************************************************************/ * xmlSaveErrMemory: * @extra: extra information * * Handle an out of memory condition */

Source from the content-addressed store, hash-verified

61 * Handle an out of memory condition
62 */
63static void
64xmlSaveErrMemory(xmlOutputBufferPtr out)
65{
66 if (out != NULL)
67 out->error = XML_ERR_NO_MEMORY;
68 xmlRaiseMemoryError(NULL, NULL, NULL, XML_FROM_OUTPUT, NULL);
69}
70
71/**
72 * xmlSaveErr:

Callers 5

xmlSaveErrFunction · 0.85
xmlNewSaveCtxtFunction · 0.85
xmlSaveSwitchEncodingFunction · 0.85
xmlBufNodeDumpFunction · 0.85

Calls 1

xmlRaiseMemoryErrorFunction · 0.85

Tested by

no test coverage detected