diff options
| author | Tyge Løvset <[email protected]> | 2023-06-13 18:24:52 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-06-13 18:24:52 +0200 |
| commit | c51bdc8d8aeac63c0af955f81593ef0be326a7e0 (patch) | |
| tree | 0ff50eab85967c8d900fbcaadf8b0ada67ade942 /misc/examples | |
| parent | 06f3ae1d904d776aea8a78113c16fc30309817ed (diff) | |
| download | STC-modified-c51bdc8d8aeac63c0af955f81593ef0be326a7e0.tar.gz STC-modified-c51bdc8d8aeac63c0af955f81593ef0be326a7e0.zip | |
Missed an update
Diffstat (limited to 'misc/examples')
| -rw-r--r-- | misc/examples/coroutines.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/coroutines.c b/misc/examples/coroutines.c index 040b8472..1e900fa1 100644 --- a/misc/examples/coroutines.c +++ b/misc/examples/coroutines.c @@ -102,7 +102,7 @@ int main(void) { struct combined c = {.prm={.count=8}, .fib={14}}; - cco_run(&c, combined(&c)) { + cco_block_on(&c, combined) { printf("Prime(%d)=%lld, Fib(%d)=%lld\n", c.prm.idx, c.prm.result, c.fib.idx, c.fib.result); |
