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

Function xmlXPathRegisterVariable

ThirdParty/libxml2/vtklibxml2/xpath.c:4068–4072  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

4066 * Returns 0 in case of success, -1 in case of error
4067 */
4068int
4069xmlXPathRegisterVariable(xmlXPathContextPtr ctxt, const xmlChar *name,
4070 xmlXPathObjectPtr value) {
4071 return(xmlXPathRegisterVariableNS(ctxt, name, NULL, value));
4072}
4073
4074/**
4075 * xmlXPathRegisterVariableNS:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected