Commit 99e55ebe authored by Daniel Veillard's avatar Daniel Veillard
Browse files

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
parent 963d2ae4
Mon Jan 21 09:55:21 CET 2002 Daniel Veillard <daniel@veillard.com>
* xpath.c include/libxml/xpathInternals.h: the change made to
xmlXPathFuncLookupFunc was incompatible roll it back
Sun Jan 20 23:03:41 CET 2002 Daniel Veillard <daniel@veillard.com>
* SAX.c: cleanup patch from Anthony Jones
......
......@@ -335,7 +335,7 @@ void xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt,
/*
* Function Lookup forwarding
*/
typedef xmlXPathFunction xmlXPathFuncLookupFunc (void *ctxt,
typedef xmlXPathFunction (*xmlXPathFuncLookupFunc) (void *ctxt,
const xmlChar *name,
const xmlChar *ns_uri);
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment