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

Function xmlXPathRegisterFunc

ThirdParty/libxml2/vtklibxml2/xpath.c:3906–3910  ·  view source on GitHub ↗

* xmlXPathRegisterFunc: * @ctxt: the XPath context * @name: the function name * @f: the function implementation or NULL * * Register a new function. If @f is NULL it unregisters the function * * Returns 0 in case of success, -1 in case of error */

Source from the content-addressed store, hash-verified

3904 * Returns 0 in case of success, -1 in case of error
3905 */
3906int
3907xmlXPathRegisterFunc(xmlXPathContextPtr ctxt, const xmlChar *name,
3908 xmlXPathFunction f) {
3909 return(xmlXPathRegisterFuncNS(ctxt, name, NULL, f));
3910}
3911
3912/**
3913 * xmlXPathRegisterFuncNS:

Callers 2

xmlXPtrNewContextFunction · 0.85

Calls 1

xmlXPathRegisterFuncNSFunction · 0.85

Tested by

no test coverage detected