summaryrefslogtreecommitdiffhomepage
path: root/include/stc/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/coroutine.h')
-rw-r--r--include/stc/coroutine.h2
1 files changed, 1 insertions, 1 deletions
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; \