summaryrefslogtreecommitdiff
path: root/src/math-history.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/math-history.h')
-rw-r--r--src/math-history.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/math-history.h b/src/math-history.h
index 7c7b079..87dab7a 100644
--- a/src/math-history.h
+++ b/src/math-history.h
@@ -45,6 +45,15 @@ math_history_new(MathEquation *equation);
void
math_history_insert_entry(MathHistory *history, char *equation, MPNumber *answer, int number_base);
+gpointer
+math_history_get_entry_at(MathHistory *history, int index);
+
+void
+math_history_set_current(MathHistory *history, int value);
+
+int
+math_history_get_current(MathHistory *history);
+
void
math_history_clear(MathHistory *history);