diff options
| author | Tyge Løvset <[email protected]> | 2022-04-17 21:46:41 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-17 21:46:41 +0200 |
| commit | 4436a1c0ac37dc2e73a2134d5ad85c010340b35d (patch) | |
| tree | 21547655a7131d5961ba96513772b8a8dd3b8460 /docs/csmap_api.md | |
| parent | 57de677b5b00e0aa75772d6b5fe6347edbe03ffd (diff) | |
| download | STC-modified-4436a1c0ac37dc2e73a2134d5ad85c010340b35d.tar.gz STC-modified-4436a1c0ac37dc2e73a2134d5ad85c010340b35d.zip | |
alt/cstr.h (sso string): added cstr_replace_all(). Header examples updated to use cstr_str(&s) instead of s.str. Some docs updates.
Diffstat (limited to 'docs/csmap_api.md')
| -rw-r--r-- | docs/csmap_api.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/csmap_api.md b/docs/csmap_api.md index 0b23878b..4bdcb42b 100644 --- a/docs/csmap_api.md +++ b/docs/csmap_api.md @@ -67,6 +67,7 @@ csmap_X_result csmap_X_put(csmap_X* self, i_key key, i_val mapped); csmap_X_result csmap_X_emplace(csmap_X* self, i_keyraw rkey, i_valraw rmapped); // no change if rkey in map csmap_X_result csmap_X_emplace_or_assign(csmap_X* self, i_keyraw rkey, i_valraw rmapped); // always update rmapped +csmap_X_result csmap_X_put_r(csmap_X* self, i_keyraw rkey, i_valraw rmapped); // alias for emplace_or_assign size_t csmap_X_erase(csmap_X* self, i_keyraw rkey); csmap_X_iter csmap_X_erase_at(csmap_X* self, csmap_X_iter it); // returns iter after it |
