machinarium: make typedef of coroutine function
* cooperative multitasking engine.
*/
+typedef void (*mm_context_callback_t)(void*);
+
void *mm_context_alloc(size_t);
void mm_context_free(void*);
-void mm_context_create(void*, void (*)(void*), void*);
+void mm_context_create(void*, mm_context_callback_t, void*);
void mm_context_swap(void*, void*);
#endif
