1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

Undeprecate some symbols for now

- xmlKeepBlanksDefault is needed as a work-around for
  xmlParseBalancedChunk, see issue #727.
- ctxt->options already has an accessor and will be deprecated
  later.
- input->cur, input->base, input->end: See #762.
This commit is contained in:
Nick Wellnhofer
2024-07-06 19:48:07 +02:00
parent 29e3ab92f0
commit 82e0455cf6

View File

@@ -82,11 +82,11 @@ struct _xmlParserInput {
/* unused */
const char *directory XML_DEPRECATED_MEMBER;
/* Base of the array to parse */
const xmlChar *base XML_DEPRECATED_MEMBER;
const xmlChar *base;
/* Current char being parsed */
const xmlChar *cur XML_DEPRECATED_MEMBER;
const xmlChar *cur;
/* end of the array to parse */
const xmlChar *end XML_DEPRECATED_MEMBER;
const xmlChar *end;
/* unused */
int length XML_DEPRECATED_MEMBER;
/* Current line */
@@ -388,7 +388,7 @@ struct _xmlParserCtxt {
/* is the document XML Namespace okay */
int nsWellFormed;
/* Extra options */
int options XML_DEPRECATED_MEMBER;
int options;
/*
* Those fields are needed only for streaming parsing so far
@@ -1087,7 +1087,7 @@ XML_DEPRECATED XMLPUBFUN int
xmlSubstituteEntitiesDefault(int val);
XML_DEPRECATED XMLPUBFUN int
xmlThrDefSubstituteEntitiesDefaultValue(int v);
XML_DEPRECATED XMLPUBFUN int
XMLPUBFUN int
xmlKeepBlanksDefault (int val);
XML_DEPRECATED XMLPUBFUN int
xmlThrDefKeepBlanksDefaultValue(int v);