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

html: Deprecate more functions

This commit is contained in:
Nick Wellnhofer
2025-04-09 21:11:47 +02:00
parent ef73541a5a
commit 2ecc08f6dc
3 changed files with 19 additions and 0 deletions

View File

@@ -1266,6 +1266,8 @@ htmlCompareTags(const void *key, const void *member) {
* htmlTagLookup:
* @tag: The tag name in lowercase
*
* DEPRECATED: Only supports HTML 4.
*
* Lookup the HTML tag in the ElementTable
*
* Returns the related htmlElemDescPtr or NULL if not found.
@@ -1583,6 +1585,8 @@ htmlStartCharData(htmlParserCtxtPtr ctxt) {
* htmlIsScriptAttribute:
* @name: an attribute name
*
* DEPRECATED: Only supports HTML 4.
*
* Check if an attribute is of content type Script
*
* Returns 1 is the attribute is a script 0 otherwise
@@ -1907,6 +1911,8 @@ static const htmlEntityDesc html40EntitiesTable[] = {
* htmlEntityLookup:
* @name: the entity name
*
* DEPRECATED: Only supports HTML 4.
*
* Lookup the given entity in EntitiesTable
*
* TODO: the linear scan is really ugly, an hash table is really needed.
@@ -1938,6 +1944,8 @@ htmlCompareEntityDesc(const void *vkey, const void *vdesc) {
* htmlEntityValueLookup:
* @value: the entity's unicode value
*
* DEPRECATED: Only supports HTML 4.
*
* Lookup the given entity in EntitiesTable
*
* TODO: the linear scan is really ugly, an hash table is really needed.
@@ -1963,6 +1971,8 @@ htmlEntityValueLookup(unsigned int value) {
* @in: a pointer to an array of UTF-8 chars
* @inlen: the length of @in
*
* DEPRECATED: Internal function, don't use.
*
* Take a block of UTF-8 chars in and try to convert it to an ASCII
* plus HTML entities block of chars out.
*
@@ -2064,6 +2074,8 @@ done:
* @inlen: the length of @in
* @quoteChar: the quote character to escape (' or ") or zero.
*
* DEPRECATED: Only supports HTML 4.
*
* Take a block of UTF-8 chars in and try to convert it to an ASCII
* plus HTML entities block of chars out.
*