summaryrefslogtreecommitdiffhomepage
path: root/docs/cqueue_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-10-29 16:24:50 +0200
committerTyge Løvset <[email protected]>2021-10-29 16:24:50 +0200
commit9708235ec4147d2c0428c9ae5186fad452b116ad (patch)
tree523a12b1ebee4a138e12c02c13c0a38d5f818f93 /docs/cqueue_api.md
parent0205c4913430aa54eb0536eb1621287da719be1f (diff)
downloadSTC-modified-9708235ec4147d2c0428c9ae5186fad452b116ad.tar.gz
STC-modified-9708235ec4147d2c0428c9ae5186fad452b116ad.zip
Renamed ..._value_t -> ..._value, etc. Deprecated, still works for cvec, cdeq, cmap, csmap, cslist
Diffstat (limited to 'docs/cqueue_api.md')
-rw-r--r--docs/cqueue_api.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/cqueue_api.md b/docs/cqueue_api.md
index 087f9da5..469b7c99 100644
--- a/docs/cqueue_api.md
+++ b/docs/cqueue_api.md
@@ -31,29 +31,29 @@ void cqueue_X_del(cqueue_X* self); // destructor
size_t cqueue_X_size(cqueue_X q);
bool cqueue_X_empty(cqueue_X q);
-cqueue_X_value_t* cqueue_X_front(const cqueue_X* self);
-cqueue_X_value_t* cqueue_X_back(const cqueue_X* self);
+cqueue_X_value* cqueue_X_front(const cqueue_X* self);
+cqueue_X_value* cqueue_X_back(const cqueue_X* self);
-cqueue_X_value_t* cqueue_X_push(cqueue_X* self, i_val value);
-cqueue_X_value_t* cqueue_X_emplace(cqueue_X* self, i_valraw raw);
+cqueue_X_value* cqueue_X_push(cqueue_X* self, i_val value);
+cqueue_X_value* cqueue_X_emplace(cqueue_X* self, i_valraw raw);
void cqueue_X_pop(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_iter cqueue_X_begin(const cqueue_X* self);
+cqueue_X_iter cqueue_X_end(const cqueue_X* self);
+void cqueue_X_next(cqueue_X_iter* it);
i_val cqueue_X_value_clone(i_val value);
```
## Types
-| Type name | Type definition | Used to represent... |
-|:----------------------|:---------------------|:-------------------------|
-| `cqueue_X` | `cdeq_X` | The cqueue type |
-| `cqueue_X_value_t` | `i_val` | The cqueue element type |
-| `cqueue_X_rawvalue_t` | `i_valraw` | cqueue raw value type |
-| `cqueue_X_iter_t` | `cdeq_X_iter_t` | cqueue iterator |
+| Type name | Type definition | Used to represent... |
+|:--------------------|:---------------------|:-------------------------|
+| `cqueue_X` | `cdeq_X` | The cqueue type |
+| `cqueue_X_value` | `i_val` | The cqueue element type |
+| `cqueue_X_rawvalue` | `i_valraw` | cqueue raw value type |
+| `cqueue_X_iter` | `cdeq_X_iter` | cqueue iterator |
## Examples
```c