diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-18 00:33:17 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-18 00:33:17 -0600 |
commit | 8e5d84d3724afd9278ac759213d7ea6eb0982e54 (patch) | |
tree | ba322c3422720bcff7cde7687c72cad0eb433290 /coroutine.h | |
parent | 690a9d955e65608b96fad34a2b31e639223798aa (diff) |
wip
Diffstat (limited to 'coroutine.h')
-rw-r--r-- | coroutine.h | 3 |
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); |