1 2 3 4 5 6 7 8
#include "Context.h" void coroutine_trampoline(void * _context) { struct coroutine_context * context = _context; context->entry_func(context->from, context); }