summaryrefslogtreecommitdiff
path: root/txt.h
diff options
context:
space:
mode:
Diffstat (limited to 'txt.h')
-rw-r--r--txt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/txt.h b/txt.h
index 54b2146..ccc71be 100644
--- a/txt.h
+++ b/txt.h
@@ -46,8 +46,11 @@ TxtLoc txt_next(Txt *b, TxtLoc l);
TxtLoc txt_prev(Txt *b, TxtLoc l);
int txt_at_start(Txt *b, TxtLoc l);
int txt_at_end(Txt *b, TxtLoc l);
+int txt_before(TxtLoc a, TxtLoc b);
+int txt_after(TxtLoc a, TxtLoc b);
u32 txt_chr(Txt *b, TxtLoc l);
u8 txt_byte(Txt *b, TxtLoc l);
+u32 txt_chr_next(Txt *b, TxtLoc *l);
#endif