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

Function xmlXPathSetErrorHandler

ThirdParty/libxml2/vtklibxml2/xpath.c:5170–5178  ·  view source on GitHub ↗

* xmlXPathSetErrorHandler: * @ctxt: the XPath context * @handler: error handler * @data: user data which will be passed to the handler * * Register a callback function that will be called on errors and * warnings. If handler is NULL, the error handler will be deactivated. * * Available since 2.13.0. */

Source from the content-addressed store, hash-verified

5168 * Available since 2.13.0.
5169 */
5170void
5171xmlXPathSetErrorHandler(xmlXPathContextPtr ctxt,
5172 xmlStructuredErrorFunc handler, void *data) {
5173 if (ctxt == NULL)
5174 return;
5175
5176 ctxt->error = handler;
5177 ctxt->userData = data;
5178}
5179
5180/************************************************************************
5181 * *

Callers 2

xmlXIncludeLoadDocFunction · 0.85
runtest.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected