aboutsummaryrefslogtreecommitdiff
path: root/grid.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-22 09:20:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-26 08:15:45 +0000
commitbb74fe3f7de2b2e933eee9b0d36a811efabedb2e (patch)
treeaec7061ed0e7b638f83ee760d076e34d1d92fa18 /grid.h
parentMerge branch 'url-launcher-redirect-stdout-stderr' (diff)
grid: add grid_free()
Diffstat (limited to 'grid.h')
-rw-r--r--grid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/grid.h b/grid.h
index 4cb339f2..c411b602 100644
--- a/grid.h
+++ b/grid.h
@@ -4,6 +4,8 @@
#include "debug.h"
#include "terminal.h"
+void grid_free(struct grid *grid);
+
void grid_swap_row(struct grid *grid, int row_a, int row_b);
struct row *grid_row_alloc(int cols, bool initialize);
void grid_row_free(struct row *row);