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

Function xmlSetGenericErrorFunc

ThirdParty/libxml2/vtklibxml2/error.c:244–251  ·  view source on GitHub ↗

* xmlSetGenericErrorFunc: * @ctx: the new error handling context * @handler: the new handler function * * DEPRECATED: See xmlSetStructuredErrorFunc for alternatives. * * Set the global "generic" handler and context for error messages. * The generic error handler will only receive fragments of error * messages which should be concatenated or printed to a stream. * * If handler is NULL,

Source from the content-addressed store, hash-verified

242 * each thread.
243 */
244void
245xmlSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler) {
246 xmlGenericErrorContext = ctx;
247 if (handler != NULL)
248 xmlGenericError = handler;
249 else
250 xmlGenericError = xmlGenericErrorDefaultFunc;
251}
252
253/**
254 * xmlSetStructuredErrorFunc:

Callers 1

initializeLibxml2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected