From c96e6adc7b06b23b63391b93fcfbac4268c4ba89 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Mon, 29 Dec 2025 07:58:52 -0500 Subject: add txt_range_equal() --- txt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'txt.h') diff --git a/txt.h b/txt.h index 3b62e04..d7c5685 100644 --- a/txt.h +++ b/txt.h @@ -43,6 +43,8 @@ void txt_free(Txt *b); Str txt_collect_range(TxtLoc lo, TxtLoc hi, Arena *a); u32 txt_read_chunk(TxtLoc *lo, TxtLoc hi, char *buf, u32 sz); +Str txt_next_chunk(TxtLoc *l); +int txt_range_equal(TxtLoc lo, TxtLoc hi, Str s); /* insertion & deletion */ -- cgit v1.2.3