--- Coro/Coro/State.xs 2009/08/20 21:38:51 1.370 +++ Coro/Coro/State.xs 2009/08/22 22:36:23 1.371 @@ -291,7 +291,7 @@ /* horrible hack, but if it works... */ static OP * -coro_pp_sselect (aTHX) +coro_pp_sselect (pTHX) { dSP; PUSHMARK (SP - 4); /* fake argument list */ @@ -3367,7 +3367,7 @@ PROTOTYPE: &@ CODE: RETVAL = coro_new (aTHX_ coro_stash, &ST (0), items, 1); - api_ready (RETVAL); + api_ready (aTHX_ RETVAL); OUTPUT: RETVAL