Blender V5.3
BLI_expr_pylike_eval.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2018 Blender Authors, Alexander Gavrilov. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11namespace blender {
12
15
19 /* Computation errors; result is still set, but may be NaN */
22 /* Expression dependent errors or bugs; result is 0 */
25};
26
30void BLI_expr_pylike_free(struct ExprPyLike_Parsed *expr);
49ExprPyLike_Parsed *BLI_expr_pylike_parse(const char *expression,
50 const char **param_names,
51 int param_names_len);
57 const double *param_values,
58 int param_values_len,
59 double *r_result);
60
61} // namespace blender
BMesh Iterators.
ExprPyLike_Parsed * BLI_expr_pylike_parse(const char *expression, const char **param_names, int param_names_len)
bool BLI_expr_pylike_is_constant(const struct ExprPyLike_Parsed *expr)
eExprPyLike_EvalStatus BLI_expr_pylike_eval(struct ExprPyLike_Parsed *expr, const double *param_values, int param_values_len, double *r_result)
void BLI_expr_pylike_free(struct ExprPyLike_Parsed *expr)
bool BLI_expr_pylike_is_valid(const struct ExprPyLike_Parsed *expr)
bool BLI_expr_pylike_is_using_param(const struct ExprPyLike_Parsed *expr, int index)