summaryrefslogtreecommitdiff
path: root/src/services/quick-answers/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/services/quick-answers/math.h')
-rw-r--r--src/services/quick-answers/math.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/services/quick-answers/math.h b/src/services/quick-answers/math.h
index c66a2bf..fafa73d 100644
--- a/src/services/quick-answers/math.h
+++ b/src/services/quick-answers/math.h
@@ -112,13 +112,15 @@ FoobarMathExpression* foobar_math_expression_new_operation( FoobarMathOperation
FoobarMathExpression* rhs );
void foobar_math_expression_print ( FoobarMathExpression const* expr,
gint indentation );
+gboolean foobar_math_evaluate ( FoobarMathExpression const* expr,
+ FoobarMathValue* out_value );
void foobar_math_expression_free ( FoobarMathExpression* expression );
void foobar_math_value_new_int ( FoobarMathValue* out_value );
+void foobar_math_value_from_float ( long double value,
+ FoobarMathValue* out_value );
gboolean foobar_math_value_from_string ( gchar const* input,
gsize input_length,
FoobarMathValue* out_value );
-void foobar_math_value_from_float ( long double value,
- FoobarMathValue* out_value );
void foobar_math_value_copy ( FoobarMathValue value,
FoobarMathValue* out_value );
void foobar_math_value_free ( FoobarMathValue value );
@@ -142,7 +144,5 @@ gboolean foobar_math_value_unify_integers ( FoobarMathValue*
FoobarMathValue* b );
gchar* foobar_math_value_to_string ( FoobarMathValue value );
long double foobar_math_value_to_float ( FoobarMathValue value );
-gboolean foobar_math_evaluate ( FoobarMathExpression const* expr,
- FoobarMathValue* out_value );
G_END_DECLS