a lot of stuff tbh
This commit is contained in:
parent
d80773bb00
commit
8ddd9186b8
42 changed files with 6463 additions and 1593 deletions
11
deprecated/coroutine.c
Normal file
11
deprecated/coroutine.c
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "coroutine.h"
|
||||
|
||||
coroutine_t coInit() {
|
||||
return (coroutine_t) {
|
||||
.state = 0
|
||||
};
|
||||
}
|
||||
|
||||
bool coIsDead(coroutine_t co) {
|
||||
return co.state == -1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue