odyssey/third_party/machinarium/sources/idle.h

21 lines
283 B
C

#ifndef MM_IDLE_H
#define MM_IDLE_H
/*
* machinarium.
*
* cooperative multitasking engine.
*/
typedef struct mm_idle mm_idle_t;
typedef int (*mm_idle_callback_t)(mm_idle_t*);
struct mm_idle
{
mm_idle_callback_t callback;
void *arg;
};
#endif /* MM_IDLE_H */