aboutsummaryrefslogtreecommitdiff
path: root/text-iterator.c
AgeCommit message (Collapse)AuthorFilesLines
2025-12-08util: replace memrchr with internal versionRandy Palamar1-4/+11
The amount of code we need to detect if this is present and handle the fallback is more than if we just provide it ourselves. Also we are passing in a difference of pointers so the argument type should be ptrdiff_t. This avoids a C brain damage of having unsigned size type which can wrap around if the caller is careful.
2020-10-30text: fix invalid pointer comparisonMarc André Tanner1-1/+1
2020-10-10text: move generic iterator functionality to separate fileMarc André Tanner1-0/+177