Closed LaoLittle closed 1 year ago
src/reg_context.rs
// first argument is task handle, second is thunk ptr pub type InitFn = fn(usize, *mut usize) -> !;
src/gen_impl.rs
/// the init function passed to reg_context fn gen_init(_: usize, f: *mut usize) -> ! {
Thanks! now it looks like this
pub type InitFn = extern "C" fn(usize, *mut usize) -> !;
src/reg_context.rs
src/gen_impl.rs