summaryrefslogtreecommitdiffhomepage
path: root/docs/csview_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/csview_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/csview_api.md')
-rw-r--r--docs/csview_api.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md
index 6125ef07..4295e4e9 100644
--- a/docs/csview_api.md
+++ b/docs/csview_api.md
@@ -51,9 +51,9 @@ bool csview_contains(csview sv, csview needle);
bool csview_starts_with(csview sv, csview sub);
bool csview_ends_with(csview sv, csview sub);
-csview_iter_t csview_begin(const csview* self);
-csview_iter_t csview_end(const csview* self);
-void csview_next(csview_iter_t* it);
+csview_iter csview_begin(const csview* self);
+csview_iter csview_end(const csview* self);
+void csview_next(csview_iter* it);
```
#### Extended cstr methods
```c
@@ -84,11 +84,11 @@ uint64_t csview_hash(const csview* x, ...);
```
## Types
-| Type name | Type definition | Used to represent... |
-|:------------------|:------------------------------------------|:-------------------------|
-| `csview` | `struct { const char *str; size_t size }` | The string view type |
-| `csview_value_t` | `char` | The string element type |
-| `csview_iter_t` | `struct { csview_value_t *ref; }` | csview iterator |
+| Type name | Type definition | Used to represent... |
+|:----------------|:------------------------------------------|:-------------------------|
+| `csview` | `struct { const char *str; size_t size }` | The string view type |
+| `csview_value` | `char` | The string element type |
+| `csview_iter` | `struct { csview_value *ref; }` | csview iterator |
## Constants and macros