diff options
| author | Tyge Løvset <[email protected]> | 2023-05-02 13:09:16 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-05-02 13:09:16 +0200 |
| commit | ab7a91c501fb3b7054e836a931754caae578c5f2 (patch) | |
| tree | b7cb26e6e351dac4b1e8302501131665382b2d58 /include | |
| parent | 2adea8b3b06ebe1b2152870862100f7e7985cfdf (diff) | |
| download | STC-modified-ab7a91c501fb3b7054e836a931754caae578c5f2.tar.gz STC-modified-ab7a91c501fb3b7054e836a931754caae578c5f2.zip | |
Removed cco_alive(), was same as !cco_done()
Diffstat (limited to 'include')
| -rw-r--r-- | include/stc/algo/coroutine.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/stc/algo/coroutine.h b/include/stc/algo/coroutine.h index 4b7bee5f..f6769162 100644 --- a/include/stc/algo/coroutine.h +++ b/include/stc/algo/coroutine.h @@ -63,7 +63,6 @@ enum cco_states { }; #define cco_suspended(ctx) ((ctx)->cco_state > 0) -#define cco_alive(ctx) ((ctx)->cco_state != cco_state_done) #define cco_done(ctx) ((ctx)->cco_state == cco_state_done) #define cco_begin(ctx) \ |
