diff options
| author | Tyge Løvset <[email protected]> | 2022-09-23 13:17:22 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-09-23 13:17:22 +0200 |
| commit | 2c83996f1ad7ac7176833d1ecb76f59120bf52cd (patch) | |
| tree | 495527c129d630b67aed0d8528c70ef5aa418106 /docs/clist_api.md | |
| parent | 0ec40a5819a619b6b2777f24c555a8953e99ea9b (diff) | |
| download | STC-modified-2c83996f1ad7ac7176833d1ecb76f59120bf52cd.tar.gz STC-modified-2c83996f1ad7ac7176833d1ecb76f59120bf52cd.zip | |
Reverted c_forrange() macro with 3 or more args: swapped 1st and 2nd arg again.
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 1b3c5b0b..9927087d 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_forrange (int, i, 1, 10) { + c_forrange (i, int, 1, 10) { if (i & 1) DList_push_front(&list, (double) i); else DList_push_back(&list, (double) i); } |
