lua-users home
lua-l archive

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


Cool. That's about as 'direct' and fast as you can get. 

Thanks
Jim


----- Original Message ----- 
From: "Diego Fernandes Nehab" <diego@tecgraf.puc-rio.br>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Saturday, January 26, 2002 4:43 PM
Subject: Re: feature request


| 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.
| 
| 
|