aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'text.h')
-rw-r--r--text.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.h b/text.h
index 6027e62..3bdb311 100644
--- a/text.h
+++ b/text.h
@@ -250,7 +250,7 @@ char *text_bytes_alloc0(const Text*, size_t pos, size_t len);
* @{
*/
Iterator text_iterator_get(const Text*, size_t pos);
-Text *text_iterator_text(const Iterator*);
+const Text *text_iterator_text(const Iterator*);
bool text_iterator_valid(const Iterator*);
bool text_iterator_has_next(const Iterator*);
bool text_iterator_has_prev(const Iterator*);