From 34bec4fdf406caff8492d53f0afc80df5d75bba4 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 23 Sep 2022 07:15:41 +0200 Subject: Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and is consistent with other c_for* macros. --- docs/cdeq_api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/cdeq_api.md') diff --git a/docs/cdeq_api.md b/docs/cdeq_api.md index bfe2447c..969cecc2 100644 --- a/docs/cdeq_api.md +++ b/docs/cdeq_api.md @@ -111,8 +111,8 @@ int main() { printf(" %d", *i.ref); puts(""); - c_forarray (int, v, {1, 4, 5, 22, 33, 2}) - cdeq_i_push_back(&q, *v) + c_forlist (i, int, {1, 4, 5, 22, 33, 2}) + cdeq_i_push_back(&q, *i.ref) c_foreach (i, cdeq_i, q) printf(" %d", *i.ref); -- cgit v1.2.3