summaryrefslogtreecommitdiffhomepage
path: root/docs/csview_api.md
diff options
context:
space:
mode:
authortylov <[email protected]>2023-08-13 17:38:10 +0200
committertylov <[email protected]>2023-08-13 17:38:10 +0200
commit972aa23a674f743c187e82444c2271aaa3e9cd06 (patch)
treeb39b5e9e36c0251a06d40090a26c8e8da5a2167e /docs/csview_api.md
parent1802558d41112e99d965000c97c45ebf7984d70c (diff)
downloadSTC-modified-972aa23a674f743c187e82444c2271aaa3e9cd06.tar.gz
STC-modified-972aa23a674f743c187e82444c2271aaa3e9cd06.zip
Removed csview_null - use csview_init().
Diffstat (limited to 'docs/csview_api.md')
-rw-r--r--docs/csview_api.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md
index 79a5c07b..49e4f9d1 100644
--- a/docs/csview_api.md
+++ b/docs/csview_api.md
@@ -29,7 +29,6 @@ All csview definitions and prototypes are available by including a single header
```c
csview c_sv(const char literal_only[]); // construct from literal, no strlen()
csview c_sv(const char* str, intptr_t n); // construct from str and length n
-csview csview_lit(const char literal_only[]); // alias for c_sv(lit)
csview csview_from(const char* str); // construct from const char*
csview csview_from_n(const char* str, intptr_t n); // alias for c_sv(str, n)
@@ -112,7 +111,6 @@ uint64_t csview_hash(const csview* x);
| Name | Value | Usage |
|:---------------|:---------------------|:---------------------------------------------|
-| `csview_null` | same as `c_sv("")` | `sview = csview_null;` |
| `c_SV(sv)` | printf argument | `printf("sv: %.*s\n", c_SV(sv));` |
## Example