Edit

kc3-lang/libxml2/include/private/xpath.h

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2023-12-18 19:39:38
    Hash : 954b8984
    Message : xpath: Improve error handling Introduce xmlXPathSetErrorHandler allowing to set a structured error handler for an XPath context. Remove arguments from memory error handlers. Use xmlRaiseMemoryError. Remove TODO, STRANGE and CHECK_CTXT macros. Remove remaining uses of xmlGenericError.

  • include/private/xpath.h
  • #ifndef XML_XPATH_H_PRIVATE__
    #define XML_XPATH_H_PRIVATE__
    
    #include <libxml/xpath.h>
    
    XML_HIDDEN void
    xmlInitXPathInternal(void);
    
    #ifdef LIBXML_XPATH_ENABLED
    XML_HIDDEN void
    xmlXPathErrMemory(xmlXPathContextPtr ctxt);
    XML_HIDDEN void
    xmlXPathPErrMemory(xmlXPathParserContextPtr ctxt);
    #endif
    
    #endif /* XML_XPATH_H_PRIVATE__ */