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

Function xmlXPathTrueFunction

ThirdParty/libxml2/vtklibxml2/xpath.c:8439–8443  ·  view source on GitHub ↗

* xmlXPathTrueFunction: * @ctxt: the XPath Parser context * @nargs: the number of arguments * * Implement the true() XPath function * boolean true() */

Source from the content-addressed store, hash-verified

8437 * boolean true()
8438 */
8439void
8440xmlXPathTrueFunction(xmlXPathParserContextPtr ctxt, int nargs) {
8441 CHECK_ARITY(0);
8442 valuePush(ctxt, xmlXPathCacheNewBoolean(ctxt, 1));
8443}
8444
8445/**
8446 * xmlXPathFalseFunction:

Callers

nothing calls this directly

Calls 2

valuePushFunction · 0.85
xmlXPathCacheNewBooleanFunction · 0.85

Tested by

no test coverage detected