1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-18 16:08:59 +03:00

tree: Deprecate public struct members related to DTDs

Let's deprecate these members for now. If these are really used, they
can be undeprecated later.
This commit is contained in:
Nick Wellnhofer
2025-05-19 21:17:39 +02:00
parent 3ab040c203
commit fca0860d6c
2 changed files with 80 additions and 50 deletions

View File

@@ -1212,6 +1212,7 @@ pythonAttributeDecl(void *user_data,
PyObject *result;
int count;
XML_IGNORE_DEPRECATION_WARNINGS
handler = (PyObject *) user_data;
if (PyObject_HasAttrString(handler, "attributeDecl")) {
count = 0;
@@ -1234,6 +1235,7 @@ pythonAttributeDecl(void *user_data,
Py_XDECREF(nameList);
Py_XDECREF(result);
}
XML_POP_WARNINGS
}
static void