mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-27 18:50:07 +03:00
encoding: Deprecate xmlByteConsumed
This was only used by Chromium/WebKit to detect whether xmlParseContent really succeeded. It's a horrible, overcomplicated hack. See 8c5848bd and #767.
This commit is contained in:
parent
440d11afd4
commit
69f12d6d47
@ -1905,6 +1905,8 @@ xmlCharEncCloseFunc(xmlCharEncodingHandler *handler) {
|
||||
* xmlByteConsumed:
|
||||
* @ctxt: an XML parser context
|
||||
*
|
||||
* DEPRECATED: Don't use.
|
||||
*
|
||||
* This function provides the current index of the parser relative
|
||||
* to the start of the current entity. This function is computed in
|
||||
* bytes from the beginning starting at zero and finishing at the
|
||||
|
@ -1347,9 +1347,7 @@ XMLPUBFUN xmlParserInputPtr
|
||||
const char *ID,
|
||||
xmlParserCtxtPtr ctxt);
|
||||
|
||||
/*
|
||||
* Index lookup, actually implemented in the encoding module
|
||||
*/
|
||||
XML_DEPRECATED
|
||||
XMLPUBFUN long
|
||||
xmlByteConsumed (xmlParserCtxtPtr ctxt);
|
||||
|
||||
|
@ -299,6 +299,7 @@ deprecated_funcs = {
|
||||
'namePush': True,
|
||||
'nodePop': True,
|
||||
'nodePush': True,
|
||||
'xmlByteConsumed': True,
|
||||
'xmlCheckFilename': True,
|
||||
'xmlCheckLanguageID': True,
|
||||
'xmlCleanupCharEncodingHandlers': True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user