summaryrefslogtreecommitdiffhomepage
path: root/docs/cset_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-12-01 22:37:19 +0100
committerTyge Løvset <[email protected]>2020-12-01 22:37:19 +0100
commita754aabd160fc02cf44b4a02deaffff9b233387f (patch)
treebe28cd7337699f15bc42e34c86de25cb197150f0 /docs/cset_api.md
parentae032cb11e32f08258dd78c23e7624663cd25ef6 (diff)
downloadSTC-modified-a754aabd160fc02cf44b4a02deaffff9b233387f.tar.gz
STC-modified-a754aabd160fc02cf44b4a02deaffff9b233387f.zip
More docs update.
Diffstat (limited to 'docs/cset_api.md')
-rw-r--r--docs/cset_api.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/cset_api.md b/docs/cset_api.md
index f0c62c8a..ddf1012d 100644
--- a/docs/cset_api.md
+++ b/docs/cset_api.md
@@ -126,16 +126,19 @@ int main ()
c_foreach (x, cset_str, second) cset_str_emplace(&fifth, x.val->str);
c_foreach (x, cset_str, third) cset_str_emplace(&fifth, x.val->str);
c_foreach (x, cset_str, fourth) cset_str_emplace(&fifth, x.val->str);
+ c_del(cset_str, &first, &second, &third, &fourth);
- printf("fifth contains:\n-------------\n");
+ printf("fifth contains:\n\n");
c_foreach (x, cset_str, fifth) printf("%s\n", x.val->str);
+ cset_str_del(&fifth);
- c_del(cset_str, &first, &second, &third, &fourth, &fifth);
return 0;
}
```
Output:
```
+fifth contains:
+
red
green
flour