1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-07 10:42:55 +03:00

Store RVT ownership in 'compression' member

'compression' is another unused member in struct _xmlDoc which is even
better suited to store ownership status. More importantly, this frees up
the 'psvi' member.

This changes the public API but this feature is only required to
implement EXSLT functions.
This commit is contained in:
Nick Wellnhofer
2022-08-31 15:35:37 +02:00
parent 1d9820635c
commit ccec6fa31d
5 changed files with 31 additions and 31 deletions

View File

@@ -772,7 +772,7 @@ exsltFuncResultElem (xsltTransformContextPtr ctxt,
}
/* Mark as function result. */
xsltRegisterLocalRVT(ctxt, container);
container->psvi = XSLT_RVT_FUNC_RESULT;
container->compression = XSLT_RVT_FUNC_RESULT;
oldInsert = ctxt->insert;
ctxt->insert = (xmlNodePtr) container;