diff options
-rw-r--r-- | page.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -144,3 +144,7 @@ void delete_at_point(struct point *point) { page->element_count--; } } + +uint8_t get_element(struct point *point) { + return point->current_page->buffer[index_to_offset(point->current_page, point->index)]; +} |