aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/text.h b/text.h
index 2343085..4f7c4dc 100644
--- a/text.h
+++ b/text.h
@@ -12,6 +12,10 @@ typedef struct {
size_t start, end; /* range in bytes from start of the file */
} Filerange;
+bool text_range_valid(Filerange*);
+Filerange text_range_empty(void);
+Filerange text_range_union(Filerange*, Filerange*);
+
typedef struct Text Text;
typedef struct Piece Piece;