libcoio/coio.h
Moritz Bitsch c3d1cef5e7 indent sources
fix style before adding more code
2015-03-25 21:16:49 +01:00

20 lines
310 B
C

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