diff options
| author | Tyge Løvset <[email protected]> | 2022-07-06 22:26:53 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-07-06 22:26:53 +0200 |
| commit | b94170eefce899d0b236804681d77fe026956fd9 (patch) | |
| tree | 9d1bad3bdfce085cc8ff8c567943ffd8750aa644 /docs/csmap_api.md | |
| parent | 6e91820d7cf632ff30b936c554a0bdf83c9e64b2 (diff) | |
| download | STC-modified-b94170eefce899d0b236804681d77fe026956fd9.tar.gz STC-modified-b94170eefce899d0b236804681d77fe026956fd9.zip | |
Version 3.7. Make sure to check NEWS/Changes in README.md for a few code-breaking API changes.
Diffstat (limited to 'docs/csmap_api.md')
| -rw-r--r-- | docs/csmap_api.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/csmap_api.md b/docs/csmap_api.md index a797e3cd..b3cf668b 100644 --- a/docs/csmap_api.md +++ b/docs/csmap_api.md @@ -47,12 +47,13 @@ void csmap_X_shrink_to_fit(csmap_X* self); csmap_X csmap_X_clone(csmap_x map); void csmap_X_clear(csmap_X* self); -void csmap_X_copy(csmap_X* self, csmap_X other); +void csmap_X_copy(csmap_X* self, const csmap_X* other); void csmap_X_swap(csmap_X* a, csmap_X* b); void csmap_X_drop(csmap_X* self); // destructor -size_t csmap_X_size(csmap_X map); -bool csmap_X_empty(csmap_X map); +size_t csmap_X_size(const csmap_X self); +bool csmap_X_empty(const csmap_X* self); +bool csmap_X_capacity(const csmap_X* self); 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 |
