diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-09-30 10:31:54 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-10 10:03:17 +0200 |
| commit | d2d909d53e7132165422ba4685bdc92c766972b7 (patch) | |
| tree | 554fad66af1a9a932916317946694815f76fdec7 /text.h | |
| parent | 77e915d73ae2367245976f9c42c9e8f3a630ab12 (diff) | |
| download | vis-d2d909d53e7132165422ba4685bdc92c766972b7.tar.gz vis-d2d909d53e7132165422ba4685bdc92c766972b7.tar.xz | |
text: mark text_iterator_get argument as const
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ char *text_bytes_alloc0(Text*, size_t pos, size_t len); * @defgroup iterator * @{ */ -Iterator text_iterator_get(Text*, size_t pos); +Iterator text_iterator_get(const Text*, size_t pos); Text *text_iterator_text(const Iterator*); bool text_iterator_valid(const Iterator*); bool text_iterator_has_next(const Iterator*); |
