diff options
| author | Tyge Løvset <[email protected]> | 2022-09-23 07:15:41 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-09-23 07:15:41 +0200 |
| commit | 34bec4fdf406caff8492d53f0afc80df5d75bba4 (patch) | |
| tree | 94252139eb34cb37f561ec5a6b9513629b2a81a5 /docs/cdeq_api.md | |
| parent | d70bcf4d875c14da30a39acfc37d00391cc1e7a9 (diff) | |
| download | STC-modified-34bec4fdf406caff8492d53f0afc80df5d75bba4.tar.gz STC-modified-34bec4fdf406caff8492d53f0afc80df5d75bba4.zip | |
Deprecated c_forarray, c_forarray_p macros - both replaced by c_forlist, and is consistent with other c_for* macros.
Diffstat (limited to 'docs/cdeq_api.md')
| -rw-r--r-- | docs/cdeq_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
