diff options
| author | Tyge Løvset <[email protected]> | 2022-04-16 17:12:14 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-16 17:12:14 +0200 |
| commit | 57de677b5b00e0aa75772d6b5fe6347edbe03ffd (patch) | |
| tree | 60a64fdddf439c6d457211ed8b176c6a08a3ade1 /docs/csmap_api.md | |
| parent | 9723c34b18448cd28b10ac70d10f8bc156e6874f (diff) | |
| download | STC-modified-57de677b5b00e0aa75772d6b5fe6347edbe03ffd.tar.gz STC-modified-57de677b5b00e0aa75772d6b5fe6347edbe03ffd.zip | |
Added at_mut() to some containers. Added put_r() to cmap, csmap as alias for emplace_or_assign().
Diffstat (limited to 'docs/csmap_api.md')
| -rw-r--r-- | docs/csmap_api.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/csmap_api.md b/docs/csmap_api.md index e6f5515c..0b23878b 100644 --- a/docs/csmap_api.md +++ b/docs/csmap_api.md @@ -49,7 +49,8 @@ void csmap_X_drop(csmap_X* self); size_t csmap_X_size(csmap_X map); bool csmap_X_empty(csmap_X map); -const csmap_X_mapped* csmap_X_at(const csmap_X* self, i_keyraw rkey); // rkey must be in map. +const csmap_X_mapped* csmap_X_at(const csmap_X* self, i_keyraw rkey); // rkey must be in map +csmap_X_mapped* csmap_X_at_mut(csmap_X* self, i_keyraw rkey); // mutable at const csmap_X_value* csmap_X_get(const csmap_X* self, i_keyraw rkey); // return NULL if not found csmap_X_value* csmap_X_get_mut(csmap_X* self, i_keyraw rkey); // mutable get bool csmap_X_contains(const csmap_X* self, i_keyraw rkey); |
