* 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 */
| 4066 | * Returns 0 in case of success, -1 in case of error |
| 4067 | */ |
| 4068 | int |
| 4069 | xmlXPathRegisterVariable(xmlXPathContextPtr ctxt, const xmlChar *name, |
| 4070 | xmlXPathObjectPtr value) { |
| 4071 | return(xmlXPathRegisterVariableNS(ctxt, name, NULL, value)); |
| 4072 | } |
| 4073 | |
| 4074 | /** |
| 4075 | * xmlXPathRegisterVariableNS: |
nothing calls this directly
no test coverage detected