lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Tue, Dec 1, 2009 at 11:07 PM, Chris Gagnon <> wrote:
> I don't understand why the c api dosn't support:
>       lua_pushthread(L, LThread)
> but i'm not out to change lua so this is only a curiosity.

I've wondered this too, but it's only one extra step to get what you want:

 lua_xmove(LThread, L, 1);