From bbe81dff8c0241bdb51b746f42ce91ff795b9737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 4 Oct 2020 20:04:55 +0200 Subject: text: mark return value of text_iterator_text as const --- text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'text.h') 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*); -- cgit v1.2.3