1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-02 20:42:30 +03:00

xpath: Deprecate xmlXPathEvalExpr

Also check the argument instead of crashing if there's no context.
This commit is contained in:
Nick Wellnhofer
2024-09-13 21:06:36 +02:00
parent 03f1bdd260
commit c46b89e243
3 changed files with 5 additions and 1 deletions

View File

@ -407,6 +407,7 @@ deprecated_funcs = {
'xmlValidatePushElement': True,
'xmlValidateRoot': True,
'xmlValidate': True,
'xmlXPathEvalExpr': True,
'xmlXPathInit': True,
'xmlXPtrEvalRangePredicate': True,
'xmlXPtrNewCollapsedRange': True,