summaryrefslogtreecommitdiff
path: root/match.h
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-24 01:19:38 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-24 01:19:38 -0700
commit125ce0ef81d8d7d684a92c1c5366d5b38880d8fe (patch)
tree7950c149d4a12355444654fa801584d615df6fc0 /match.h
parent85c101979a181a76e6250fb1abb75216e08384a3 (diff)
downloaddartboat-125ce0ef81d8d7d684a92c1c5366d5b38880d8fe.tar.gz
dartboat-125ce0ef81d8d7d684a92c1c5366d5b38880d8fe.tar.xz
clear undone visit before overwriting with new visit
Diffstat (limited to 'match.h')
-rw-r--r--match.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/match.h b/match.h
index 32523b6..76a3db4 100644
--- a/match.h
+++ b/match.h
@@ -41,10 +41,10 @@ struct leg *leg_init(int pts);
void leg_free(struct leg *l);
void leg_grow_visits(struct leg *l);
+void leg_undo_visit(struct leg *l);
+struct visit *leg_redo_visit(struct leg *l);
struct visit *leg_comp_visit(struct leg *l, bool redo_undone);
struct visit *leg_pts_visit(struct leg *l, int pts);
-void leg_undo_visit(struct leg *l);
-void leg_redo_visit(struct leg *l);
struct match *match_init();
void match_free(struct match *m);