summaryrefslogtreecommitdiff
path: root/src/math-history.h
diff options
context:
space:
mode:
authorJohannes Unruh <[email protected]>2020-03-23 00:03:52 +0100
committerRobert Antoni Buj Gelonch <[email protected]>2020-04-07 23:27:35 +0200
commit7f43d244e969162ca92d6575085b4196f0c2e19f (patch)
treefffc9391bbe294ea501bd829fd57cba977d5abcf /src/math-history.h
parentd92c6f685a8622905d9ca50479cf19454a5959f5 (diff)
downloadmate-calc-7f43d244e969162ca92d6575085b4196f0c2e19f.tar.bz2
mate-calc-7f43d244e969162ca92d6575085b4196f0c2e19f.tar.xz
history-view: simplify code and add clear option
Diffstat (limited to 'src/math-history.h')
-rw-r--r--src/math-history.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math-history.h b/src/math-history.h
index 6301dd6..7c7b079 100644
--- a/src/math-history.h
+++ b/src/math-history.h
@@ -45,6 +45,9 @@ math_history_new(MathEquation *equation);
void
math_history_insert_entry(MathHistory *history, char *equation, MPNumber *answer, int number_base);
+void
+math_history_clear(MathHistory *history);
+
G_END_DECLS
#endif /* MATH_HISTORY_VIEW_H */