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:
@@ -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
|
||||
|
Reference in New Issue
Block a user