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