From d007d6c53e6ef461d45d3fd1f1d20307661bce13 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 19 Mar 2001 00:01:07 +0000 Subject: [PATCH] Ooops: - xpath.h: the comp field must be added at the end to avoid killing Ooops: - xpath.h: the comp field must be added at the end to avoid killing binary compat. Daniel --- ChangeLog | 5 +++++ include/libxml/xpath.h | 5 +++-- xpath.h | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b51727c..13bd01a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 19 00:59:25 CET 2001 Daniel Veillard + + * xpath.h: the comp field must be added at the end to avoid + killing binary compat. + Mon Mar 19 00:11:18 CET 2001 Daniel Veillard * Makefile.am: detect XPath memleaks in regreson tests diff --git a/include/libxml/xpath.h b/include/libxml/xpath.h index d7e23d16..f86c0ff7 100644 --- a/include/libxml/xpath.h +++ b/include/libxml/xpath.h @@ -237,13 +237,14 @@ struct _xmlXPathParserContext { int error; /* error code */ - xmlXPathCompExprPtr comp; /* the precompiled expression */ - xmlXPathContextPtr context; /* the evaluation context */ xmlXPathObjectPtr value; /* the current value */ int valueNr; /* number of values stacked */ int valueMax; /* max number of values stacked */ xmlXPathObjectPtr *valueTab; /* stack of values */ + + xmlXPathCompExprPtr comp; /* the precompiled expression */ + }; /* diff --git a/xpath.h b/xpath.h index d7e23d16..f86c0ff7 100644 --- a/xpath.h +++ b/xpath.h @@ -237,13 +237,14 @@ struct _xmlXPathParserContext { int error; /* error code */ - xmlXPathCompExprPtr comp; /* the precompiled expression */ - xmlXPathContextPtr context; /* the evaluation context */ xmlXPathObjectPtr value; /* the current value */ int valueNr; /* number of values stacked */ int valueMax; /* max number of values stacked */ xmlXPathObjectPtr *valueTab; /* stack of values */ + + xmlXPathCompExprPtr comp; /* the precompiled expression */ + }; /*