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 */ + }; /*