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

Function xmlXPathCompiledEvalToBoolean

ThirdParty/libxml2/vtklibxml2/xpath.c:13213–13218  ·  view source on GitHub ↗

* xmlXPathCompiledEvalToBoolean: * @comp: the compiled XPath expression * @ctxt: the XPath context * * Applies the XPath boolean() function on the result of the given * compiled expression. * * Returns 1 if the expression evaluated to true, 0 if to false and * -1 in API and internal errors. */

Source from the content-addressed store, hash-verified

13211 * -1 in API and internal errors.
13212 */
13213int
13214xmlXPathCompiledEvalToBoolean(xmlXPathCompExprPtr comp,
13215 xmlXPathContextPtr ctxt)
13216{
13217 return(xmlXPathCompiledEvalInternal(comp, ctxt, NULL, 1));
13218}
13219
13220/**
13221 * xmlXPathEvalExpr:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected