diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-25 15:18:03 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-25 15:18:03 -0500 |
| commit | f6b140681d21a6cb631e0ea5733d82a53ef97d25 (patch) | |
| tree | 68d851293d95475ff034417fe93cce671af4c018 /src/stdlib/text.c | |
| parent | 5acea7089c82c7449ada88ed60d61797f0303e2a (diff) | |
General cleanup
Diffstat (limited to 'src/stdlib/text.c')
| -rw-r--r-- | src/stdlib/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/text.c b/src/stdlib/text.c index 969c2e51..ce48091a 100644 --- a/src/stdlib/text.c +++ b/src/stdlib/text.c @@ -1113,7 +1113,7 @@ static bool _has_grapheme(TextIter_t *text, int32_t g) { } public -OptionalInt_t Text$find(Text_t text, Text_t target, Int_t start) { +PUREFUNC OptionalInt_t Text$find(Text_t text, Text_t target, Int_t start) { if (text.length < target.length) return NONE_INT; if (target.length <= 0) return I(1); TextIter_t text_state = NEW_TEXT_ITER_STATE(text), target_state = NEW_TEXT_ITER_STATE(target); |
