[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua state as a C++ class ...
- From: "James Hearn" <james.hearn@...>
- Date: Fri, 14 Jun 2002 00:14:56 -0500
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