summaryrefslogtreecommitdiff
path: root/coroutine.h
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 00:33:17 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 00:33:17 -0600
commit8e5d84d3724afd9278ac759213d7ea6eb0982e54 (patch)
treeba322c3422720bcff7cde7687c72cad0eb433290 /coroutine.h
parent690a9d955e65608b96fad34a2b31e639223798aa (diff)
wip
Diffstat (limited to 'coroutine.h')
-rw-r--r--coroutine.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/coroutine.h b/coroutine.h
index ae52f22..273680d 100644
--- a/coroutine.h
+++ b/coroutine.h
@@ -23,8 +23,7 @@ void coroutine_main(void);
/* inside of coroutines *******************************************************/
-bool _cr_begin(void);
-#define cr_begin() do { if (!_cr_begin()) return; } while (0)
+bool cr_begin(void);
void cr_exit(void);
void cr_yield(void);
void cr_pause_and_yield(void);