diff options
Diffstat (limited to 'path.h')
| -rw-r--r-- | path.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,8 @@ size_t diagonal_distance(Position a, Position b); Path path_new(size_t width, size_t height); void path_free(Path path, size_t height); +/* Reverses the path in place and switches start and end */ +void path_reverse(Path *path, size_t width, size_t height, Position *start, Position *end); /* Helper funcs for the visited array */ char **visited_new(size_t width, size_t height); |
