[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: feature request
- From: Diego Fernandes Nehab <diego@...>
- Date: Sat, 26 Jan 2002 20:43:14 -0200 (BRST)
On Sat, 26 Jan 2002 jim@mathies.com wrote:
> My proposal is a simple user definable void* pointer in the Lua state, with
> set and get API calls:
Have you tried using the LUA_USERSTATE macro? I believe it was put there
to allow for exactly this kind of need. I use it for the per-state
synchonization object used in LuaThreads.
Regards,
Diego.