From c51bdc8d8aeac63c0af955f81593ef0be326a7e0 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 13 Jun 2023 18:24:52 +0200 Subject: Missed an update --- misc/examples/coroutines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3