diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2020-10-04 20:04:55 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2020-10-10 10:03:17 +0200 |
| commit | bbe81dff8c0241bdb51b746f42ce91ff795b9737 (patch) | |
| tree | 18fc3e9c4c4bbfd039c37259ce886a2e6eabb70b /text.h | |
| parent | 5f1ade1308a080fc27f43ae9504432255958a6f9 (diff) | |
| download | vis-bbe81dff8c0241bdb51b746f42ce91ff795b9737.tar.gz vis-bbe81dff8c0241bdb51b746f42ce91ff795b9737.tar.xz | |
text: mark return value of text_iterator_text as const
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*); |
