GebrArithExpr

GebrArithExpr

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GebrArithExpr

Description

Functions

gebr_arith_expr_new ()

GebrArithExpr *
gebr_arith_expr_new (void);

Returns

a newly allocated GebrArithExpr with reference count of 1.


gebr_arith_expr_eval ()

gboolean
gebr_arith_expr_eval (GebrArithExpr *self,
                      const gchar *expr,
                      gdouble *result,
                      GError **err);

Parameters

expr

a GebrArithExpr

 

expression

a string expression

 

error

return location for an error, or NULL

 

Returns

TRUE if evaluation was successful, FALSE otherwise.


gebr_arith_expr_eval_internal ()

gboolean
gebr_arith_expr_eval_internal (GebrArithExpr *self,
                               const gchar *expr,
                               gchar **result,
                               GError **err);

Types and Values

GebrArithExprPriv

typedef struct _GebrArithExprPriv GebrArithExprPriv;