summaryrefslogtreecommitdiffhomepage
path: root/docs/cdeq_api.md
diff options
context:
space:
mode:
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 1985c2ab..ce14184f 100644
--- a/docs/cdeq_api.md
+++ b/docs/cdeq_api.md
@@ -106,7 +106,7 @@ int main() {
printf(" %d", *i.ref);
puts("");
- c_apply(cdeq_i, push_back, &q, {1, 4, 5, 22, 33, 2});
+ c_apply(v, cdeq_i_push_back(&q, v), int, {1, 4, 5, 22, 33, 2});
c_foreach (i, cdeq_i, q)
printf(" %d", *i.ref);
puts("");