#1189: Make data parameter of expression evaluation functions const -------------------------+-------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Keywords: | -------------------------+-------------------------------------------------- The data argument of Util_ExpressionEvaluate, and of the evaluator functions it uses, should be const. data is a pointer to user-supplied data used for evaluating the expression. It should not be modified by the evaluation. Note that this modifies the flesh API to the (undocumented) thorn-visible function Util_ExpressionEvaluate. The attached patch makes this modification as well as modifying the evaluators in the flesh.
OK to apply?