From c4441f5fc665194fbd7a894a67a64a08c3beac42 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 8 Feb 2023 16:16:49 +0100 Subject: Changed to use lowercase flow-control macros in examples (uppercase will still be supported). Improved many examples to use c_make() to init containers. --- docs/cqueue_api.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/cqueue_api.md') diff --git a/docs/cqueue_api.md b/docs/cqueue_api.md index 212cdabe..9ea4b148 100644 --- a/docs/cqueue_api.md +++ b/docs/cqueue_api.md @@ -70,13 +70,13 @@ int main() { cqueue_i Q = cqueue_i_init(); // push() and pop() a few. - c_FORRANGE (i, 20) + c_forrange (i, 20) cqueue_i_push(&Q, i); - c_FORRANGE (5) + c_forrange (5) cqueue_i_pop(&Q); - c_FOREACH (i, cqueue_i, Q) + c_foreach (i, cqueue_i, Q) printf(" %d", *i.ref); cqueue_i_drop(&Q); -- cgit v1.2.3