mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-23 01:52:48 +03:00
added a function lookup framework
* xpath.c include/libxml/xpath{,Internals}.h: added a function lookup framework
This commit is contained in:
@@ -319,6 +319,18 @@ void xmlXPathRegisterVariableLookup (xmlXPathContextPtr ctxt,
|
||||
xmlXPathVariableLookupFunc f,
|
||||
void *varCtxt);
|
||||
|
||||
/*
|
||||
* Function Lookup forwarding
|
||||
*/
|
||||
typedef xmlXPathFunction
|
||||
(*xmlXPathFuncLookupFunc) (void *ctxt,
|
||||
const xmlChar *name,
|
||||
const xmlChar *ns_uri);
|
||||
|
||||
void xmlXPathRegisterFuncLookup (xmlXPathContextPtr ctxt,
|
||||
xmlXPathFuncLookupFunc f,
|
||||
void *funcCtxt);
|
||||
|
||||
/*
|
||||
* Error reporting
|
||||
*/
|
||||
|
Reference in New Issue
Block a user