lua-users home
lua-l archive

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


I've done this myself, and it works sinfully well.

> You need the mapping,  but I believe there is a third option.
> 
> What if you store the cLuaState not as a field in lua_State,
> but as an userdata object inside the lua_State itself?
> This is not the most efficient way to get it done,  but requires
> no fiddling with the internals of lua.

--James Hearn