summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-05-09 16:36:46 +0200
committerTyge Lovset <[email protected]>2023-05-09 16:36:46 +0200
commit98d131bfc1bcc8b82cb27b30ad6da176d1fed117 (patch)
tree704f967e2ef1e8555e91767ea26c8d46d6a75b76
parent992950d20096848f606525dffc96c74bda52c543 (diff)
downloadSTC-modified-98d131bfc1bcc8b82cb27b30ad6da176d1fed117.tar.gz
STC-modified-98d131bfc1bcc8b82cb27b30ad6da176d1fed117.zip
fixed typo.
-rw-r--r--include/stc/algo/coroutine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/algo/coroutine.h b/include/stc/algo/coroutine.h
index 8d3b79b5..c3f36ac2 100644
--- a/include/stc/algo/coroutine.h
+++ b/include/stc/algo/coroutine.h
@@ -87,7 +87,7 @@ enum {
#define cco_yield_coro_3(co, call, ret) \
do { call; if (!cco_done(co)) cco_yield(ret); } while (0)
-#define cco_await(...) c_MACRO_OVERLOAD(cco_awaitcoro, __VA_ARGS__)
+#define cco_await(...) c_MACRO_OVERLOAD(cco_await, __VA_ARGS__)
#define cco_await_1(promise) cco_await_2(promise, )
#define cco_await_2(promise, ret) \
do { \