Index: third_party/libxslt/libxslt/variables.h |
diff --git a/third_party/libxslt/libxslt/variables.h b/third_party/libxslt/libxslt/variables.h |
index f80eeab6ebb3850d9fead5f6855df951f68a6c43..24acf8d10e57ff24e5fdfbf7ee84073e1bce5ff4 100644 |
--- a/third_party/libxslt/libxslt/variables.h |
+++ b/third_party/libxslt/libxslt/variables.h |
@@ -38,9 +38,35 @@ extern "C" { |
* Flags for memory management of RVTs |
*/ |
+/** |
+ * XSLT_RVT_LOCAL: |
+ * |
+ * RVT is destroyed after the current instructions ends. |
+ */ |
#define XSLT_RVT_LOCAL ((void *)1) |
+ |
+/** |
+ * XSLT_RVT_VARIABLE: |
+ * |
+ * RVT is part of a local variable and destroyed after the variable goes out |
+ * of scope. |
+ */ |
#define XSLT_RVT_VARIABLE ((void *)2) |
+ |
+/** |
+ * XSLT_RVT_FUNC_RESULT: |
+ * |
+ * RVT is part of results returned with func:result. The RVT won't be |
+ * destroyed after exiting a template and will be reset to XSLT_RVT_LOCAL or |
+ * XSLT_RVT_VARIABLE in the template that receives the return value. |
+ */ |
#define XSLT_RVT_FUNC_RESULT ((void *)3) |
+ |
+/** |
+ * XSLT_RVT_GLOBAL: |
+ * |
+ * RVT is part of a global variable. |
+ */ |
#define XSLT_RVT_GLOBAL ((void *)4) |
/* |