1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 03:55:04 +03:00

html: Deprecate htmlIsBooleanAttr

This commit is contained in:
Nick Wellnhofer 2024-09-12 23:50:20 +02:00
parent 6040785ac4
commit c34d0ae9cc
3 changed files with 4 additions and 0 deletions

View File

@ -311,6 +311,8 @@ static const char* const htmlBooleanAttrs[] = {
* htmlIsBooleanAttr:
* @name: the name of the attribute to check
*
* DEPRECATED: Internal function, don't use.
*
* Determine if a given attribute is a boolean attribute.
*
* returns: false if the attribute is not boolean, true otherwise.

View File

@ -133,6 +133,7 @@ XMLPUBFUN void
#endif /* LIBXML_OUTPUT_ENABLED */
XML_DEPRECATED
XMLPUBFUN int
htmlIsBooleanAttr (const xmlChar *name);

View File

@ -295,6 +295,7 @@ deprecated_funcs = {
'htmlHandleOmittedElem': True,
'htmlInitAutoClose': True,
'htmlIsAutoClosed': True,
'htmlIsBooleanAttr': True,
'htmlParseCharRef': True,
'htmlParseElement': True,
'namePop': True,