diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-19 04:40:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-19 04:40:40 +0300 |
commit | d44c8ce1cbde053c897cfb25697b558c98e33cd9 (patch) | |
tree | a7db79a33de03f8b3237970de9bc0285c18e386b /source/blender/blenlib/BLI_expr_pylike_eval.h | |
parent | 3aea5695bbdcf83c5c7769a629e0a2e4db0c85bc (diff) |
Cleanup: BLI_expr_pylike argument ordering
- Order array length after the array.
- Put return argument last.
Diffstat (limited to 'source/blender/blenlib/BLI_expr_pylike_eval.h')
-rw-r--r-- | source/blender/blenlib/BLI_expr_pylike_eval.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |