summaryrefslogtreecommitdiffhomepage
path: root/docs/cstr_api.md
diff options
context:
space:
mode:
authortylov <[email protected]>2023-08-17 11:40:58 +0200
committertylov <[email protected]>2023-08-17 11:40:58 +0200
commit032bf0a0dfe8b5d368118d4da5862323a021b626 (patch)
treeabed3c05a89dd59d467ce10ecfe181bc240b1483 /docs/cstr_api.md
parent311f12d7005351ca245aa1df77889d8db4899862 (diff)
downloadSTC-modified-032bf0a0dfe8b5d368118d4da5862323a021b626.tar.gz
STC-modified-032bf0a0dfe8b5d368118d4da5862323a021b626.zip
Corrected/updated string types in docs.
Diffstat (limited to 'docs/cstr_api.md')
-rw-r--r--docs/cstr_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cstr_api.md b/docs/cstr_api.md
index bcb0d172..5f6ce9e4 100644
--- a/docs/cstr_api.md
+++ b/docs/cstr_api.md
@@ -152,7 +152,7 @@ char* cstrnstrn(const char* str, const char* search, intptr_t slen, intptr
|:----------------|:---------------------------------------------|:---------------------|
| `cstr` | `struct { ... }` | The string type |
| `cstr_value` | `char` | String element type |
-| `csview` | `struct { const char *str; intptr_t size; }` | String view type |
+| `cstr_iter` | `union { cstr_value *ref; csview chr; }` | String iterator |
| `cstr_buf` | `struct { char *data; intptr_t size, cap; }` | String buffer type |
## Constants and macros