summaryrefslogtreecommitdiffhomepage
path: root/docs/coroutine_api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/coroutine_api.md')
-rw-r--r--docs/coroutine_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/coroutine_api.md b/docs/coroutine_api.md
index 6bd558f2..f7d81a34 100644
--- a/docs/coroutine_api.md
+++ b/docs/coroutine_api.md
@@ -78,7 +78,7 @@ yield or await from a (deeply) nested coroutine call using cco_task objects desc
The first example is a generator of Pythagorian triples, and stops when diagonal size > max_c.
-[ [Run this code](https://godbolt.org/z/3Efn17cP6) ]
+[ [Run this code](https://godbolt.org/z/d5zW3f9Gv) ]
```c
#include <stc/coroutine.h>
#include <stdio.h>
@@ -126,7 +126,7 @@ The next variant skips the triples which are upscaled version of smaller ones by
the gcd() function. Note that the gcd1_triples struct contains the triples struct so that
both functions have separate call frames:
-[ [Run this code](https://godbolt.org/z/ndhMq1haj) ]
+[ [Run this code](https://godbolt.org/z/a7da9M8P5) ]
```c
int gcd(int a, int b) { // greatest common denominator
while (b) {