From d44c8ce1cbde053c897cfb25697b558c98e33cd9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 19 Sep 2018 11:40:40 +1000 Subject: Cleanup: BLI_expr_pylike argument ordering - Order array length after the array. - Put return argument last. --- source/blender/blenlib/BLI_expr_pylike_eval.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 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 b627664cc14..e8311bc43b6 100644 --- a/source/blender/blenlib/BLI_expr_pylike_eval.h +++ b/source/blender/blenlib/BLI_expr_pylike_eval.h @@ -52,9 +52,12 @@ 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, int num_params, const char **param_names); + const char *expression, + const char **param_names, int param_names_len); eExprPyLike_EvalStatus BLI_expr_pylike_eval( - struct ExprPyLike_Parsed *expr, double *result, int num_params, const double *params); + struct ExprPyLike_Parsed *expr, + const double *param_values, int param_values_len, + double *r_result); #ifdef __cplusplus } -- cgit v1.2.3