1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

legacy: Remove legacy symbols

This commit is contained in:
Nick Wellnhofer
2025-03-04 13:26:51 +01:00
parent 3250a01dc2
commit cdc5cfed0b
12 changed files with 22 additions and 1147 deletions

View File

@@ -1284,28 +1284,6 @@ XMLPUBFUN void
XMLPUBFUN xmlParserCtxtPtr
xmlCreateDocParserCtxt (const xmlChar *cur);
#ifdef LIBXML_LEGACY_ENABLED
/** DOC_DISABLE */
/*
* Reading/setting optional parsing features.
*/
XML_DEPRECATED
XMLPUBFUN int
xmlGetFeaturesList (int *len,
const char **result);
XML_DEPRECATED
XMLPUBFUN int
xmlGetFeature (xmlParserCtxtPtr ctxt,
const char *name,
void *result);
XML_DEPRECATED
XMLPUBFUN int
xmlSetFeature (xmlParserCtxtPtr ctxt,
const char *name,
void *value);
/** DOC_ENABLE */
#endif /* LIBXML_LEGACY_ENABLED */
#ifdef LIBXML_PUSH_ENABLED
/*
* Interfaces for the Push mode.

View File

@@ -155,11 +155,9 @@
/**
* LIBXML_LEGACY_ENABLED:
*
* Whether the deprecated APIs are compiled in for compatibility
* Removed in 2.14
*/
#if @WITH_LEGACY@
#define LIBXML_LEGACY_ENABLED
#endif
#undef LIBXML_LEGACY_ENABLED
/**
* LIBXML_C14N_ENABLED: