AW: LUA_USERSTATE

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

AW: LUA_USERSTATE

Sebastian Rohde
Thank you, I think this is the way the USERSTATE was implemented before. I
just wondered why it was removed in this way and so I thought there might be
another way to accomplish userdata.

Sebastian

-----Ursprüngliche Nachricht-----
Von: [hidden email]
[[hidden email]] Im Auftrag von Shmuel Zeigerman
Gesendet: Freitag, 10. März 2006 11:27
An: Lua list
Betreff: Re: LUA_USERSTATE

Sebastian Rohde wrote:
> we are porting our Scriptmodule from LUA 5.0.2 to 5.1 and found that 
> there is no LUA_USERSPACE anymore. Can anybody tell me what is the 
> suggested way to associate extra data (namely a pointer) with the 
> lua_State is?

See LUAI_EXTRASPACE in luaconf.h

-- 
Shmuel