lua-users home
lua-l archive

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


On Sat, Feb 13, 2010 at 11:57 AM, M Joonas Pihlaja
<jpihlaja@cc.helsinki.fi> wrote:
> My alternate safe solution is to store the current lua_State in a
> global at every Lua -> C boundary, but that's a much more invasive
> change to my wrapper code unfortunately.

It is kindof tedious, but its the right way. And it will work with
both 5.1 and 5.2 (5.2 isn't exactly
sweeping the world by storm, 5.1 will be around for a while).

Sam