libcoio/coio.h
Moritz Bitsch 0452e702a1 Initial import
minimal coroutine library
2015-03-21 12:47:51 +01:00

19 lines
255 B
C

#ifndef COIO_H
#define COIO_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct CoioTask CoioTask;
int coio_main();
int coio_create(void (*f)(void *arg), void *arg, unsigned int stacksize);
void coio_yield();
#ifdef __cplusplus
}
#endif
#endif