diff options
| author | Tyge Løvset <[email protected]> | 2021-03-06 12:39:40 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-03-06 12:39:40 +0100 |
| commit | 15dcc16cac8f5353d657fe6511eb1a01be347fa0 (patch) | |
| tree | 4d50e2948c6f9bf18c95335feda7ae44147ebf1f /docs | |
| parent | 7188a160ac084b65de07c26797fd74e29fd8b0b8 (diff) | |
| download | STC-modified-15dcc16cac8f5353d657fe6511eb1a01be347fa0.tar.gz STC-modified-15dcc16cac8f5353d657fe6511eb1a01be347fa0.zip | |
Fixed some const-ness with begin/end methods.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/cmap_api.md | 4 | ||||
| -rw-r--r-- | docs/cqueue_api.md | 4 | ||||
| -rw-r--r-- | docs/csmap_api.md | 4 | ||||
| -rw-r--r-- | docs/cstack_api.md | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/docs/cmap_api.md b/docs/cmap_api.md index 8311fc0f..ce5b310d 100644 --- a/docs/cmap_api.md +++ b/docs/cmap_api.md @@ -74,8 +74,8 @@ cmap_X_mapped_t* cmap_X_at(const cmap_X* self, RawKey rkey); size_t cmap_X_erase(cmap_X* self, RawKey rkey); cmap_X_iter_t cmap_X_erase_at(cmap_X* self, cmap_X_iter_t pos); -cmap_X_iter_t cmap_X_begin(cmap_X* self); -cmap_X_iter_t cmap_X_end(cmap_X* self); +cmap_X_iter_t cmap_X_begin(const cmap_X* self); +cmap_X_iter_t cmap_X_end(const cmap_X* self); void cmap_X_next(cmap_X_iter_t* it); cmap_X_mapped_t* cmap_X_itval(cmap_X_iter_t it); diff --git a/docs/cqueue_api.md b/docs/cqueue_api.md index ef01b2c4..4890a4ea 100644 --- a/docs/cqueue_api.md +++ b/docs/cqueue_api.md @@ -40,8 +40,8 @@ void cqueue_X_emplace_n(cqueue_X *self, const cqueue_X_rawval void cqueue_X_pop(cqueue_X* self); -cqueue_X_iter_t cqueue_X_begin(cqueue_X* self); -cqueue_X_iter_t cqueue_X_end(cqueue_X* self); +cqueue_X_iter_t cqueue_X_begin(const cqueue_X* self); +cqueue_X_iter_t cqueue_X_end(const cqueue_X* self); void cqueue_X_next(cqueue_X_iter_t* it); cqueue_X_value_t* cqueue_X_itval(cqueue_X_iter_t it); diff --git a/docs/csmap_api.md b/docs/csmap_api.md index 711d7e6a..8c3a31b5 100644 --- a/docs/csmap_api.md +++ b/docs/csmap_api.md @@ -70,8 +70,8 @@ csmap_X_mapped_t* csmap_X_at(const csmap_X* self, RawKey rkey); size_t csmap_X_erase(csmap_X* self, RawKey rkey); csmap_X_iter_t csmap_X_erase_at(csmap_X* self, csmap_X_iter_t pos); -csmap_X_iter_t csmap_X_begin(csmap_X* self); -csmap_X_iter_t csmap_X_end(csmap_X* self); +csmap_X_iter_t csmap_X_begin(const csmap_X* self); +csmap_X_iter_t csmap_X_end(const csmap_X* self); void csmap_X_next(csmap_X_iter_t* it); csmap_X_mapped_t* csmap_X_itval(csmap_X_iter_t it); diff --git a/docs/cstack_api.md b/docs/cstack_api.md index c953ef91..d1b3cb5f 100644 --- a/docs/cstack_api.md +++ b/docs/cstack_api.md @@ -40,8 +40,8 @@ void cstack_X_emplace_n(cstack_X *self, const cstack_X_rawval void cstack_X_pop(cstack_X* self); -cstack_X_iter_t cstack_X_begin(cstack_X* self); -cstack_X_iter_t cstack_X_end(cstack_X* self); +cstack_X_iter_t cstack_X_begin(const cstack_X* self); +cstack_X_iter_t cstack_X_end(const cstack_X* self); void cstack_X_next(cstack_X_iter_t* it); cstack_X_value_t* cstack_X_itval(cstack_X_iter_t it); |
