diff options
Diffstat (limited to 'ted-internal.h')
-rw-r--r-- | ted-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ted-internal.h b/ted-internal.h index 6de2cfd..64b3b6e 100644 --- a/ted-internal.h +++ b/ted-internal.h @@ -513,6 +513,8 @@ bool buffer_handle_click(Ted *ted, TextBuffer *buffer, vec2 click, u8 times); /// currently needed to avoid bad positioning when a buffer is created /// and buffer_center_cursor is called immediately after void buffer_center_cursor_next_frame(TextBuffer *buffer); +/// perform a series of checks to make sure the buffer doesn't have any invalid values +void buffer_check_valid(TextBuffer *buffer); // === build.c === void build_frame(Ted *ted, float x1, float y1, float x2, float y2); |