summaryrefslogtreecommitdiffhomepage
path: root/docs/cdeq_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-04-17 08:02:39 +0200
committerTyge Løvset <[email protected]>2021-04-17 08:02:39 +0200
commit0dfe69fa5dd7d4d9dded93d35106537e1ea76243 (patch)
tree3c94d8d4f6ef2aa6b9d5c19fc6da3e69521bf18b /docs/cdeq_api.md
parent23ad1fbb91ef3cdddec7e54f3bde79082c2b0e24 (diff)
downloadSTC-modified-0dfe69fa5dd7d4d9dded93d35106537e1ea76243.tar.gz
STC-modified-0dfe69fa5dd7d4d9dded93d35106537e1ea76243.zip
Changed c_emplace_items(&cont, ctype, {...}) macro with c_emplace(ctype, cont, {...}): consistent with c_init(ctype, cont, {...}).
Diffstat (limited to 'docs/cdeq_api.md')
-rw-r--r--docs/cdeq_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cdeq_api.md b/docs/cdeq_api.md
index d921a5fb..d4de155b 100644
--- a/docs/cdeq_api.md
+++ b/docs/cdeq_api.md
@@ -107,7 +107,7 @@ int main() {
printf(" %d", *i.ref);
puts("");
- c_emplace_items(&q, cdeq_i, {1, 4, 5, 22, 33, 2});
+ c_emplace(cdeq_i, q, {1, 4, 5, 22, 33, 2});
c_foreach (i, cdeq_i, q)
printf(" %d", *i.ref);
puts("");