1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-20 18:50:08 +03:00

parser: Remove compatibility symbols

This commit is contained in:
Nick Wellnhofer 2025-03-04 14:06:50 +01:00
parent 8e871162a6
commit a15ad9b268
4 changed files with 0 additions and 57 deletions

View File

@ -912,37 +912,6 @@ xmlGetLocalRngState(void) {
return(xmlGetThreadLocalStorage(0)->localRngState);
}
/* For backward compatibility */
const char *const *
__xmlParserVersion(void) {
return &xmlParserVersion;
}
const int *
__xmlParserDebugEntities(void) {
return &xmlParserDebugEntities;
}
const xmlSAXLocator *
__xmlDefaultSAXLocator(void) {
return &xmlDefaultSAXLocator;
}
#ifdef LIBXML_SAX1_ENABLED
const xmlSAXHandlerV1 *
__xmlDefaultSAXHandler(void) {
return &xmlDefaultSAXHandler;
}
#ifdef LIBXML_HTML_ENABLED
const xmlSAXHandlerV1 *
__htmlDefaultSAXHandler(void) {
return &htmlDefaultSAXHandler;
}
#endif /* LIBXML_HTML_ENABLED */
#endif /* LIBXML_SAX1_ENABLED */
#endif /* LIBXML_THREAD_ENABLED */
/**

View File

@ -81,11 +81,6 @@ struct _htmlEntityDesc {
XML_DEPRECATED
XMLPUBVAR const xmlSAXHandlerV1 htmlDefaultSAXHandler;
#ifdef LIBXML_THREAD_ENABLED
XML_DEPRECATED
XMLPUBFUN const xmlSAXHandlerV1 *__htmlDefaultSAXHandler(void);
#endif
#endif /* LIBXML_SAX1_ENABLED */
/*

View File

@ -980,19 +980,6 @@ XML_DEPRECATED
XMLPUBVAR const xmlSAXHandlerV1 xmlDefaultSAXHandler;
#endif
#ifdef LIBXML_THREAD_ENABLED
/* backward compatibility */
XMLPUBFUN const char *const *__xmlParserVersion(void);
XML_DEPRECATED
XMLPUBFUN const int *__xmlParserDebugEntities(void);
XML_DEPRECATED
XMLPUBFUN const xmlSAXLocator *__xmlDefaultSAXLocator(void);
#ifdef LIBXML_SAX1_ENABLED
XML_DEPRECATED
XMLPUBFUN const xmlSAXHandlerV1 *__xmlDefaultSAXHandler(void);
#endif
#endif
/** DOC_DISABLE */
#define XML_GLOBALS_PARSER_CORE \
XML_OP(xmlDoValidityCheckingDefaultValue, int, XML_DEPRECATED) \

View File

@ -683,14 +683,6 @@ XMLPUBVAR const xmlBufferAllocationScheme xmlBufferAllocScheme;
XML_DEPRECATED
XMLPUBVAR const int xmlDefaultBufferSize;
#ifdef LIBXML_THREAD_ENABLED
/* backward compatibility */
XML_DEPRECATED
XMLPUBFUN const xmlBufferAllocationScheme *__xmlBufferAllocScheme(void);
XML_DEPRECATED
XMLPUBFUN const int *__xmlDefaultBufferSize(void);
#endif
/** DOC_DISABLE */
#define XML_GLOBALS_TREE \
XML_OP(xmlRegisterNodeDefaultValue, xmlRegisterNodeFunc, XML_DEPRECATED) \