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 /docs/ccommon_api.md | |
| parent | 2adea8b3b06ebe1b2152870862100f7e7985cfdf (diff) | |
| download | STC-modified-ab7a91c501fb3b7054e836a931754caae578c5f2.tar.gz STC-modified-ab7a91c501fb3b7054e836a931754caae578c5f2.zip | |
Removed cco_alive(), was same as !cco_done()
Diffstat (limited to 'docs/ccommon_api.md')
| -rw-r--r-- | docs/ccommon_api.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ccommon_api.md b/docs/ccommon_api.md index 27df13ce..407ddac4 100644 --- a/docs/ccommon_api.md +++ b/docs/ccommon_api.md @@ -354,9 +354,8 @@ To resume the coroutine from where it was suspended with *cco_yield()*, simply c |:----------|:-------------------------------------|:----------------------------------------| | | `cco_final:` | Obligatory label in coroutine | | | `cco_return` | Early return from the coroutine (no arg) | -| `bool` | `cco_alive(ctx)` | Is coroutine in initial or suspended state? | -| `bool` | `cco_done(ctx)` | Is coroutine not alive? | | `bool` | `cco_suspended(ctx)` | Is coroutine in suspended state? | +| `bool` | `cco_done(ctx)` | Is coroutine done? | | | `cco_begin(ctx)` | Begin coroutine block | | | `cco_end(retval)` | End coroutine block and return retval | | | `cco_end()` | End coroutine block (return void) | |
