diff options
| author | Tyge Løvset <[email protected]> | 2022-04-24 23:53:56 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-04-24 23:53:56 +0200 |
| commit | 1ebbd367675a4a25c82b27da75301846fa315f4c (patch) | |
| tree | 53c2947afaac64ac6505d45bd577a9843241f029 /docs/csview_api.md | |
| parent | 81b541b85f85b48660ceb461b851f1fb09d68344 (diff) | |
| download | STC-modified-1ebbd367675a4a25c82b27da75301846fa315f4c.tar.gz STC-modified-1ebbd367675a4a25c82b27da75301846fa315f4c.zip | |
Updated docs to use cstr_str(&s) instead of s.str
Diffstat (limited to 'docs/csview_api.md')
| -rw-r--r-- | docs/csview_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/csview_api.md b/docs/csview_api.md index 5211e2f6..57aa0d55 100644 --- a/docs/csview_api.md +++ b/docs/csview_api.md @@ -212,7 +212,7 @@ int main() c_autovar (cvec_str v = string_split(c_sv("Split,this,,string,now,"), c_sv(",")), cvec_str_drop(&v)) c_foreach (i, cvec_str, v) - printf("[%s]\n", i.ref->str); + printf("[%s]\n", cstr_str(i.ref)); } ``` Output: |
