aboutsummaryrefslogtreecommitdiff
path: root/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'path.h')
-rw-r--r--path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/path.h b/path.h
index 002690d..10f79e9 100644
--- a/path.h
+++ b/path.h
@@ -20,6 +20,7 @@ size_t path_length(Path path, Position start, Position goal);
char **visited_new(size_t width, size_t height);
void visited_clear(char **visited, size_t width, size_t height);
void visited_free(char **visited, size_t height);
+size_t visited_count(char **visited, size_t width, size_t height);
/* Helper funcs for the cost_so_far array */
size_t **cost_so_far_new(size_t width, size_t height);