aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/text.h b/text.h
index 65ac053..217c801 100644
--- a/text.h
+++ b/text.h
@@ -15,20 +15,6 @@ typedef struct {
size_t start, end; /* range in bytes from start of the file */
} Filerange;
-
-/* test whether the given range is valid (start <= end) */
-bool text_range_valid(Filerange*);
-/* get the size of the range (end-start) or zero if invalid */
-size_t text_range_size(Filerange*);
-/* create an empty / invalid range of size zero */
-Filerange text_range_empty(void);
-/* merge two ranges into a new one which contains both of them */
-Filerange text_range_union(Filerange*, Filerange*);
-/* create new range [min(a,b), max(a,b)] */
-Filerange text_range_new(size_t a, size_t b);
-/* test whether two ranges overlap */
-bool text_range_overlap(Filerange*, Filerange*);
-
typedef struct Text Text;
typedef struct Piece Piece;