summaryrefslogtreecommitdiffhomepage
path: root/docs/clist_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-05 17:17:03 +0100
committerGitHub <[email protected]>2021-01-05 17:17:03 +0100
commite32d505e82fbf5e6fb4ae251fbf3c6d2ec49f9e3 (patch)
tree5517406252bebf2826dc0681a519416a66e79139 /docs/clist_api.md
parent65c3701c5de27af3c033543498286021826dfadd (diff)
downloadSTC-modified-e32d505e82fbf5e6fb4ae251fbf3c6d2ec49f9e3.tar.gz
STC-modified-e32d505e82fbf5e6fb4ae251fbf3c6d2ec49f9e3.zip
Update clist_api.md
Diffstat (limited to 'docs/clist_api.md')
-rw-r--r--docs/clist_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/clist_api.md b/docs/clist_api.md
index 6b3718e5..deaec104 100644
--- a/docs/clist_api.md
+++ b/docs/clist_api.md
@@ -98,7 +98,7 @@ clist_X_value_t* clist_X_itval(clist_X_iter_t it);
clist_X_value_t clist_X_value_clone(clist_X_value_t val);
```
-The *clist_X_split_after(self, it1, it2)* can be combined with *clist_X_splice_after(self, pos, other)* to mimic c++ *std::forward_list::splice_after(pos, other, it1, it2)*. Note however, that it2 is included in elements to be spliced, unlike with *std::forward_list()*. E.g, splice in 2, 3 after 10 in L2:
+The `clist_X_split_after(self, it1, it2)` can be combined with `clist_X_splice_after(self, pos, other)` to mimic c++ `std::forward_list::splice_after(pos, other, it1, it2)`. Note however, that `it2` is included in elements to be spliced, unlike with `std::forward_list()`. E.g, splice in 2, 3 after 10 in L2:
```c
c_init (clist_i, L1, {1, 2, 3, 4, 5});
c_init (clist_i, L2, {10, 20, 30, 40, 50});