From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: ClangFormat: apply to source, most of intern Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat --- source/blender/blenlib/BLI_expr_pylike_eval.h | 28 +++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'source/blender/blenlib/BLI_expr_pylike_eval.h') diff --git a/source/blender/blenlib/BLI_expr_pylike_eval.h b/source/blender/blenlib/BLI_expr_pylike_eval.h index 59540d3c623..b8bf88dd85b 100644 --- a/source/blender/blenlib/BLI_expr_pylike_eval.h +++ b/source/blender/blenlib/BLI_expr_pylike_eval.h @@ -33,25 +33,25 @@ typedef struct ExprPyLike_Parsed ExprPyLike_Parsed; /** Expression evaluation return code. */ typedef enum eExprPyLike_EvalStatus { - EXPR_PYLIKE_SUCCESS = 0, - /* Computation errors; result is still set, but may be NaN */ - EXPR_PYLIKE_DIV_BY_ZERO, - EXPR_PYLIKE_MATH_ERROR, - /* Expression dependent errors or bugs; result is 0 */ - EXPR_PYLIKE_INVALID, - EXPR_PYLIKE_FATAL_ERROR, + EXPR_PYLIKE_SUCCESS = 0, + /* Computation errors; result is still set, but may be NaN */ + EXPR_PYLIKE_DIV_BY_ZERO, + EXPR_PYLIKE_MATH_ERROR, + /* Expression dependent errors or bugs; result is 0 */ + EXPR_PYLIKE_INVALID, + EXPR_PYLIKE_FATAL_ERROR, } eExprPyLike_EvalStatus; void BLI_expr_pylike_free(struct ExprPyLike_Parsed *expr); bool BLI_expr_pylike_is_valid(struct ExprPyLike_Parsed *expr); bool BLI_expr_pylike_is_constant(struct ExprPyLike_Parsed *expr); -ExprPyLike_Parsed *BLI_expr_pylike_parse( - const char *expression, - const char **param_names, int param_names_len); -eExprPyLike_EvalStatus BLI_expr_pylike_eval( - struct ExprPyLike_Parsed *expr, - const double *param_values, int param_values_len, - double *r_result); +ExprPyLike_Parsed *BLI_expr_pylike_parse(const char *expression, + const char **param_names, + int param_names_len); +eExprPyLike_EvalStatus BLI_expr_pylike_eval(struct ExprPyLike_Parsed *expr, + const double *param_values, + int param_values_len, + double *r_result); #ifdef __cplusplus } -- cgit v1.2.3