diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 19:27:45 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 19:27:45 -0400 |
| commit | 817adbf22592955244aecad435ce0555707dba1a (patch) | |
| tree | 5bde62f686921d348b74e78903f1b8ed6bf746d1 /src/stdlib/text.c | |
| parent | ce098c6401335b14ed9f92ee795d5ba6afb45d2e (diff) | |
Error checking for path components
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 8607e165..cc8a4daf 100644 --- a/src/stdlib/text.c +++ b/src/stdlib/text.c @@ -1092,7 +1092,7 @@ public Text_t Text$replace(Text_t text, Text_t target, Text_t replacement) return result; } -public bool Text$has(Text_t text, Text_t target) +public PUREFUNC bool Text$has(Text_t text, Text_t target) { TextIter_t text_state = NEW_TEXT_ITER_STATE(text), target_state = NEW_TEXT_ITER_STATE(target); for (int64_t i = 0; i < text.length; i++) { |
