mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-21 14:53:44 +03:00
parser: Remove compatibility symbols
This commit is contained in:
31
globals.c
31
globals.c
@@ -912,37 +912,6 @@ xmlGetLocalRngState(void) {
|
|||||||
return(xmlGetThreadLocalStorage(0)->localRngState);
|
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 */
|
#endif /* LIBXML_THREAD_ENABLED */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -81,11 +81,6 @@ struct _htmlEntityDesc {
|
|||||||
XML_DEPRECATED
|
XML_DEPRECATED
|
||||||
XMLPUBVAR const xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
XMLPUBVAR const xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
||||||
|
|
||||||
#ifdef LIBXML_THREAD_ENABLED
|
|
||||||
XML_DEPRECATED
|
|
||||||
XMLPUBFUN const xmlSAXHandlerV1 *__htmlDefaultSAXHandler(void);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* LIBXML_SAX1_ENABLED */
|
#endif /* LIBXML_SAX1_ENABLED */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -980,19 +980,6 @@ XML_DEPRECATED
|
|||||||
XMLPUBVAR const xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
XMLPUBVAR const xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
||||||
#endif
|
#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 */
|
/** DOC_DISABLE */
|
||||||
#define XML_GLOBALS_PARSER_CORE \
|
#define XML_GLOBALS_PARSER_CORE \
|
||||||
XML_OP(xmlDoValidityCheckingDefaultValue, int, XML_DEPRECATED) \
|
XML_OP(xmlDoValidityCheckingDefaultValue, int, XML_DEPRECATED) \
|
||||||
|
@@ -683,14 +683,6 @@ XMLPUBVAR const xmlBufferAllocationScheme xmlBufferAllocScheme;
|
|||||||
XML_DEPRECATED
|
XML_DEPRECATED
|
||||||
XMLPUBVAR const int xmlDefaultBufferSize;
|
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 */
|
/** DOC_DISABLE */
|
||||||
#define XML_GLOBALS_TREE \
|
#define XML_GLOBALS_TREE \
|
||||||
XML_OP(xmlRegisterNodeDefaultValue, xmlRegisterNodeFunc, XML_DEPRECATED) \
|
XML_OP(xmlRegisterNodeDefaultValue, xmlRegisterNodeFunc, XML_DEPRECATED) \
|
||||||
|
Reference in New Issue
Block a user