From cd9d0f984e678691855787a2fa855ccd5876425f Mon Sep 17 00:00:00 2001 From: tylov Date: Mon, 31 Jul 2023 08:37:59 +0200 Subject: Renamed cco_generator() => cco_iter_struct(). More in line with cco_task_struct() macro. --- include/stc/coroutine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/stc/coroutine.h b/include/stc/coroutine.h index 7917878a..146f3efb 100644 --- a/include/stc/coroutine.h +++ b/include/stc/coroutine.h @@ -135,7 +135,7 @@ typedef enum { * Generators */ -#define cco_generator(Name, ...) \ +#define cco_iter_struct(Name, ...) \ typedef Name Name##_value; \ typedef struct { \ Name##_value* ref; \ -- cgit v1.2.3