diff options
| author | Tyge Løvset <[email protected]> | 2022-10-19 15:50:51 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-19 15:50:51 +0200 |
| commit | 0441f3844410c64b7e2d4a2604b4254b851e64c8 (patch) | |
| tree | 2b30f21536fd589b890fa4644732e963036a9113 /docs/clist_api.md | |
| parent | bb3a457e5c2c9e6b069ab3dfba10f9d21686b035 (diff) | |
| download | STC-modified-0441f3844410c64b7e2d4a2604b4254b851e64c8.tar.gz STC-modified-0441f3844410c64b7e2d4a2604b4254b851e64c8.zip | |
Reverted back to c_forrrange from c_forloop. Still available but deprecated.
Diffstat (limited to 'docs/clist_api.md')
| -rw-r--r-- | docs/clist_api.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/clist_api.md b/docs/clist_api.md index 58afb64a..7e2b9c58 100644 --- a/docs/clist_api.md +++ b/docs/clist_api.md @@ -114,7 +114,7 @@ int main() { c_forlist (i, double, {10., 20., 30., 40., 50., 60., 70., 80., 90.}) DList_push_back(&list, *i.ref); - c_forloop (i, 1, 10) { + c_forrange (i, 1, 10) { if (i & 1) DList_push_front(&list, (double) i); else DList_push_back(&list, (double) i); } |
