summaryrefslogtreecommitdiffhomepage
path: root/misc/examples
diff options
context:
space:
mode:
authortylov <[email protected]>2023-07-31 08:37:59 +0200
committertylov <[email protected]>2023-07-31 08:37:59 +0200
commitcd9d0f984e678691855787a2fa855ccd5876425f (patch)
treec23cff610a399ef6b3716268863a4450c72c5e7c /misc/examples
parente6003c0ecfd7e76803bac7d98feca814997e8a86 (diff)
downloadSTC-modified-cd9d0f984e678691855787a2fa855ccd5876425f.tar.gz
STC-modified-cd9d0f984e678691855787a2fa855ccd5876425f.zip
Renamed cco_generator() => cco_iter_struct(). More in line with cco_task_struct() macro.
Diffstat (limited to 'misc/examples')
-rw-r--r--misc/examples/coroutines/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/coroutines/generator.c b/misc/examples/coroutines/generator.c
index c092b92d..3f51ce9c 100644
--- a/misc/examples/coroutines/generator.c
+++ b/misc/examples/coroutines/generator.c
@@ -8,7 +8,7 @@ typedef struct {
int a, b, c;
} Triple;
-cco_generator(Triple,
+cco_iter_struct(Triple,
int count;
);