summaryrefslogtreecommitdiffhomepage
path: root/docs/cqueue_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-19 15:50:51 +0200
committerTyge Løvset <[email protected]>2022-10-19 15:50:51 +0200
commit0441f3844410c64b7e2d4a2604b4254b851e64c8 (patch)
tree2b30f21536fd589b890fa4644732e963036a9113 /docs/cqueue_api.md
parentbb3a457e5c2c9e6b069ab3dfba10f9d21686b035 (diff)
downloadSTC-modified-0441f3844410c64b7e2d4a2604b4254b851e64c8.tar.gz
STC-modified-0441f3844410c64b7e2d4a2604b4254b851e64c8.zip
Reverted back to c_forrrange from c_forloop. Still available but deprecated.
Diffstat (limited to 'docs/cqueue_api.md')
-rw-r--r--docs/cqueue_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cqueue_api.md b/docs/cqueue_api.md
index 43f953b3..a8be9e86 100644
--- a/docs/cqueue_api.md
+++ b/docs/cqueue_api.md
@@ -68,10 +68,10 @@ int main() {
cqueue_i Q = cqueue_i_init();
// push() and pop() a few.
- c_forloop (i, 20)
+ c_forrange (i, 20)
cqueue_i_push(&Q, i);
- c_forloop (5)
+ c_forrange (5)
cqueue_i_pop(&Q);
c_foreach (i, cqueue_i, Q)