diff options
| author | Tyge Løvset <[email protected]> | 2022-10-07 22:19:36 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-07 22:19:36 +0200 |
| commit | 5fb5ed08250b5ad4eadd6e7a9fdc44f4519b15ff (patch) | |
| tree | 8fd0bfb5e9f7f062aec7a31ef32aa29a245ab1fc /docs | |
| parent | 0bb5902e347c6b503c80ba6d6e74dc880b1bc736 (diff) | |
| parent | 12d854b17371903253cd54e8cbb1a947b637de83 (diff) | |
| download | STC-modified-5fb5ed08250b5ad4eadd6e7a9fdc44f4519b15ff.tar.gz STC-modified-5fb5ed08250b5ad4eadd6e7a9fdc44f4519b15ff.zip | |
Merge branch 'master' of github.com:tylov/STC
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ccommon_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md index 1cdc56cb..32f2f3dc 100644 --- a/docs/ccommon_api.md +++ b/docs/ccommon_api.md @@ -298,7 +298,7 @@ if (i.ref) printf("%d\n", *i.ref); // Search map for a string containing "hello" and erase it: cmap_str_iter it, it1 = ..., it2 = ...; -c_find_in(it, csmap_str, it1, it2, cstr_contains(it.ref, "hello")); +c_find_if(it, csmap_str, it1, it2, cstr_contains(it.ref, "hello")); if (it.ref) cmap_str_erase_at(&map, it); // Erase all strings containing "hello": |
