From e04061d71cb35f0541dda331f430b6becc3e6dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 30 Sep 2020 10:37:05 +0200 Subject: text: mark text_iterator_byte_get argument 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 f63e73e..72ca1fc 100644 --- a/text.h +++ b/text.h @@ -261,7 +261,7 @@ bool text_iterator_prev(Iterator*); * @defgroup iterator_byte * @{ */ -bool text_iterator_byte_get(Iterator*, char *b); +bool text_iterator_byte_get(const Iterator*, char *b); bool text_iterator_byte_prev(Iterator*, char *b); bool text_iterator_byte_next(Iterator*, char *b); bool text_iterator_byte_find_prev(Iterator*, char b); -- cgit v1.2.3