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

Function xmlRelaxNGSetValidStructuredErrors

ThirdParty/libxml2/vtklibxml2/relaxng.c:10766–10776  ·  view source on GitHub ↗

* xmlRelaxNGSetValidStructuredErrors: * @ctxt: a Relax-NG validation context * @serror: the structured error function * @ctx: the functions context * * Set the structured error callback */

Source from the content-addressed store, hash-verified

10764 * Set the structured error callback
10765 */
10766void
10767xmlRelaxNGSetValidStructuredErrors(xmlRelaxNGValidCtxtPtr ctxt,
10768 xmlStructuredErrorFunc serror, void *ctx)
10769{
10770 if (ctxt == NULL)
10771 return;
10772 ctxt->serror = serror;
10773 ctxt->error = NULL;
10774 ctxt->warning = NULL;
10775 ctxt->userData = ctx;
10776}
10777
10778/**
10779 * xmlRelaxNGGetValidErrors:

Calls

no outgoing calls

Tested by 1

rngOneTestFunction · 0.68