summaryrefslogtreecommitdiffhomepage
path: root/docs/cqueue_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-08 20:32:10 +0100
committerTyge Løvset <[email protected]>2020-12-08 20:32:10 +0100
commit56dd4e057367689a89a170e255626591cdf5dc85 (patch)
tree883a330826c3596f430c566d3de11117250beb83 /docs/cqueue_api.md
parentbfd7248535ee2bc6c067cb56894966968dc1ee82 (diff)
downloadSTC-modified-56dd4e057367689a89a170e255626591cdf5dc85.tar.gz
STC-modified-56dd4e057367689a89a170e255626591cdf5dc85.zip
Updated api for with clone()
Diffstat (limited to 'docs/cqueue_api.md')
-rw-r--r--docs/cqueue_api.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/cqueue_api.md b/docs/cqueue_api.md
index e6951493..6b7f5823 100644
--- a/docs/cqueue_api.md
+++ b/docs/cqueue_api.md
@@ -34,14 +34,15 @@ All cqueue definitions and prototypes may be included in your C source file by i
```c
cqueue_X cqueue_X_init(void);
+cqueue_X cqueue_X_clone(cqueue_X q);
void cqueue_X_del(cqueue_X* self);
-size_t cqueue_X_size(cqueue_X pq);
-bool cqueue_X_empty(cqueue_X pq);
+size_t cqueue_X_size(cqueue_X q);
+bool cqueue_X_empty(cqueue_X q);
cqueue_X_value_t* cqueue_X_front(cqueue_X* self);
cqueue_X_value_t* cqueue_X_back(cqueue_X* self);
-void cqueue_X_push_n(cqueue_X *self, const cqueue_X_input_t in[], size_t size);
+void cqueue_X_push_n(cqueue_X *self, const cqueue_X_input_t arr[], size_t size);
void cqueue_X_emplace(cqueue_X* self, cqueue_X_rawvalue_t raw);
void cqueue_X_push(cqueue_X* self, cqueue_X_value_t value);
void cqueue_X_pop(cqueue_X* self);