summaryrefslogtreecommitdiff
path: root/src/services/quick-answers/math.h
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2024-11-04 12:51:05 +0100
committerHannes Schulze <haschu0103@outlook.de>2024-11-04 12:51:05 +0100
commit83d650b82e5209d2ca24cc1e6bf04e0644b3f615 (patch)
tree29e89bf90cd56d26f7432a52bf4bc90c51c632ce /src/services/quick-answers/math.h
parente36217208802c001f1fbc758e5f103cbc4f339a2 (diff)
add docs
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