[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: AW: LUA_USERSTATE
- From: Sebastian Rohde <rohde@...>
- Date: Fri, 10 Mar 2006 18:35:07 +0100
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: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] 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