![]() |
![]() |
![]() |
libgebr Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
struct GebrArithExpr; struct GebrArithExprClass; GebrArithExpr * gebr_arith_expr_new (void
); gboolean gebr_arith_expr_eval (GebrArithExpr *self
,const gchar *expr
,gdouble *result
,GError **err
); gboolean gebr_arith_expr_eval_internal (GebrArithExpr *self
,const gchar *expr
,gchar **result
,GError **err
); GebrArithExprPriv;
GebrArithExpr * gebr_arith_expr_new (void
);
Returns : |
a newly allocated GebrArithExpr with reference count of 1. |
gboolean gebr_arith_expr_eval (GebrArithExpr *self
,const gchar *expr
,gdouble *result
,GError **err
);
|
a GebrArithExpr |
|
a string expression |
|
return location for an error, or NULL
|
Returns : |
TRUE if evaluation was successful, FALSE otherwise. |
gboolean gebr_arith_expr_eval_internal (GebrArithExpr *self
,const gchar *expr
,gchar **result
,GError **err
);