mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
the change made to xmlXPathFuncLookupFunc was incompatible roll it back
* xpath.c include/libxml/xpathInternals.h: the change made to xmlXPathFuncLookupFunc was incompatible roll it back Daniel
This commit is contained in:
8
xpath.c
8
xpath.c
@ -2291,9 +2291,9 @@ xmlXPathFunctionLookup(xmlXPathContextPtr ctxt, const xmlChar *name) {
|
||||
|
||||
if (ctxt->funcLookupFunc != NULL) {
|
||||
xmlXPathFunction ret;
|
||||
xmlXPathFuncLookupFunc *f;
|
||||
xmlXPathFuncLookupFunc f;
|
||||
|
||||
f = (xmlXPathFuncLookupFunc *) ctxt->funcLookupFunc;
|
||||
f = (xmlXPathFuncLookupFunc) ctxt->funcLookupFunc;
|
||||
ret = f(ctxt->funcLookupData, name, NULL);
|
||||
if (ret != NULL)
|
||||
return(ret);
|
||||
@ -2322,9 +2322,9 @@ xmlXPathFunctionLookupNS(xmlXPathContextPtr ctxt, const xmlChar *name,
|
||||
|
||||
if (ctxt->funcLookupFunc != NULL) {
|
||||
xmlXPathFunction ret;
|
||||
xmlXPathFuncLookupFunc *f;
|
||||
xmlXPathFuncLookupFunc f;
|
||||
|
||||
f = (xmlXPathFuncLookupFunc *) ctxt->funcLookupFunc;
|
||||
f = (xmlXPathFuncLookupFunc) ctxt->funcLookupFunc;
|
||||
ret = f(ctxt->funcLookupData, name, ns_uri);
|
||||
if (ret != NULL)
|
||||
return(ret);
|
||||
|
Reference in New Issue
Block a user