diff options
| author | Tyge Løvset <[email protected]> | 2022-06-01 21:43:30 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-06-01 21:43:30 +0200 |
| commit | 89424a2ff3a46dbd82a6954f97a25f973e981c98 (patch) | |
| tree | 2b72d8066cebaa580c3686bf477456e10d3e37fc /examples/utf8replace_c.c | |
| parent | 239276667b547dc795678cf3ac3c28c5ccf72532 (diff) | |
| download | STC-modified-89424a2ff3a46dbd82a6954f97a25f973e981c98.tar.gz STC-modified-89424a2ff3a46dbd82a6954f97a25f973e981c98.zip | |
Renamed cstr_replace() => cstr_replace_at(), and cstr_replace_one() => cstr_replace(self, start, search, replace).
Diffstat (limited to 'examples/utf8replace_c.c')
| -rw-r--r-- | examples/utf8replace_c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/utf8replace_c.c b/examples/utf8replace_c.c index 89d5375f..27f33761 100644 --- a/examples/utf8replace_c.c +++ b/examples/utf8replace_c.c @@ -13,7 +13,7 @@ int main() { ); printf("%s\n", cstr_str(&hello)); - cstr_replace_one(&hello, 0, "🐨", "ø"); + cstr_replace(&hello, 0, "🐨", "ø"); printf("%s\n", cstr_str(&hello)); c_foreach (c, cstr, hello) |
