blob: 303e5f44296a491124f604b219c8727ba55774f0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "Context.h"
void coroutine_trampoline(void * _start, void * _context)
{
coroutine_start start = (coroutine_start)_start;
struct coroutine_context * context = _context;
rb_wasm_set_stack_pointer(context->current_sp);
start(context->from, context);
}
|