1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-08 17:42:14 +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: * htmlIsBooleanAttr:
* @name: the name of the attribute to check * @name: the name of the attribute to check
* *
* DEPRECATED: Internal function, don't use.
*
* Determine if a given attribute is a boolean attribute. * Determine if a given attribute is a boolean attribute.
* *
* returns: false if the attribute is not boolean, true otherwise. * returns: false if the attribute is not boolean, true otherwise.

View File

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

View File

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