summaryrefslogtreecommitdiffhomepage
path: root/docs/cvec_api.md
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-12 15:19:45 +0200
committertylov <[email protected]>2023-07-12 15:19:45 +0200
commit715a02ba8155de2f7d446e8d7d2ae305c27996b9 (patch)
treeeddc758c57d1c521e50ece51e42eb7bbc2e9d2ea /docs/cvec_api.md
parent50cbc73d4fef3ce91d094b80a018769eac439965 (diff)
downloadSTC-modified-715a02ba8155de2f7d446e8d7d2ae305c27996b9.tar.gz
STC-modified-715a02ba8155de2f7d446e8d7d2ae305c27996b9.zip
Fixed usage of `const i_key` in cvec API, should be `const _cx_value`. Removed cvec_insert(), use cvec_insert_n().
Diffstat (limited to 'docs/cvec_api.md')
-rw-r--r--docs/cvec_api.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/cvec_api.md b/docs/cvec_api.md
index fa7bf8ca..d19f4bae 100644
--- a/docs/cvec_api.md
+++ b/docs/cvec_api.md
@@ -70,8 +70,7 @@ cvec_X_value* cvec_X_emplace_back(cvec_X* self, i_valraw raw); // a
void cvec_X_pop(cvec_X* self);
void cvec_X_pop_back(cvec_X* self); // alias for pop
-cvec_X_iter cvec_X_insert(cvec_X* self, intptr_t idx, i_val value); // move value
-cvec_X_iter cvec_X_insert_n(cvec_X* self, intptr_t idx, const i_val arr[], intptr_t n); // move values
+cvec_X_iter cvec_X_insert_n(cvec_X* self, intptr_t idx, const i_val arr[], intptr_t n); // move values
cvec_X_iter cvec_X_insert_at(cvec_X* self, cvec_X_iter it, i_val value); // move value
cvec_X_iter cvec_X_insert_uninit(cvec_X* self, intptr_t idx, intptr_t n); // return iter at idx