Created
July 1, 2025 14:22
-
-
Save metalefty/61d7463e54e921533ce4a673fa17368e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libxslt/xsltutils.h b/libxslt/xsltutils.h | |
index 789865a6..df89aeb1 100644 | |
--- a/libxslt/xsltutils.h | |
+++ b/libxslt/xsltutils.h | |
@@ -247,6 +247,19 @@ XSLTPUBFUN xmlXPathCompExprPtr XSLTCALL | |
const xmlChar *str, | |
int flags); | |
+#ifdef IN_LIBXSLT | |
+#define XSLT_SOURCE_NODE_MASK 15 | |
+int | |
+xsltGetSourceNodeFlags(xmlNodePtr node); | |
+int | |
+xsltSetSourceNodeFlags(xsltTransformContextPtr ctxt, xmlNodePtr node, | |
+ int flags); | |
+int | |
+xsltClearSourceNodeFlags(xmlNodePtr node, int flags); | |
+void ** | |
+xsltGetPSVIPtr(xmlNodePtr cur); | |
+#endif | |
+ | |
/* | |
* Profiling. | |
*/ | |
@@ -267,6 +280,7 @@ XSLTPUBFUN void XSLTCALL | |
* Sampling precision for profiling | |
*/ | |
#define XSLT_TIMESTAMP_TICS_PER_SEC 100000l | |
+#endif | |
/* | |
* Hooks for the debugger. | |
@@ -306,7 +320,6 @@ XSLTPUBFUN void XSLTCALL | |
#ifdef __cplusplus | |
} | |
-#endif | |
#endif /* __XML_XSLTUTILS_H__ */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libxslt/xsltutils.h b/libxslt/xsltutils.h | |
index 7a12f7b3..65ef78e0 100644 | |
--- a/libxslt/xsltutils.h | |
+++ b/libxslt/xsltutils.h | |
@@ -247,6 +247,19 @@ XSLTPUBFUN xmlXPathCompExprPtr XSLTCALL | |
const xmlChar *str, | |
int flags); | |
+#ifdef IN_LIBXSLT | |
+#define XSLT_SOURCE_NODE_MASK 15 | |
+int | |
+xsltGetSourceNodeFlags(xmlNodePtr node); | |
+int | |
+xsltSetSourceNodeFlags(xsltTransformContextPtr ctxt, xmlNodePtr node, | |
+ int flags); | |
+int | |
+xsltClearSourceNodeFlags(xmlNodePtr node, int flags); | |
+void ** | |
+xsltGetPSVIPtr(xmlNodePtr cur); | |
+#endif | |
+ | |
/* | |
* Profiling. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment