* 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 */
| 3904 | * Returns 0 in case of success, -1 in case of error |
| 3905 | */ |
| 3906 | int |
| 3907 | xmlXPathRegisterFunc(xmlXPathContextPtr ctxt, const xmlChar *name, |
| 3908 | xmlXPathFunction f) { |
| 3909 | return(xmlXPathRegisterFuncNS(ctxt, name, NULL, f)); |
| 3910 | } |
| 3911 | |
| 3912 | /** |
| 3913 | * xmlXPathRegisterFuncNS: |
no test coverage detected