[ET Trac] [Einstein Toolkit] #1189: Make data parameter of expression evaluation functions const

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Nov 30 03:44:07 CST 2012


#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?

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1189>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list