lua-users home
lua-l archive

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


Thank you for this input. I will will consider this as a solution but I
don't think it's optimal - I would like to associate an often used and
therefore performance critical extra value with the Lua State. Storing this
data this way seems to be overkill for me. 

Yours, 
	Sebastian


-----Ursprüngliche Nachricht-----
Von: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] Im Auftrag von Michael
Broughton
Gesendet: Freitag, 10. März 2006 10:41
An: Lua list
Betreff: Re: LUA_USERSTATE

http://www.lua.org/pil/27.3.1.html

Is this what you are looking for?




Sebastian Rohde wrote:
>
> Hi everybody,
>
>  
>
> 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?
>
>  
>
> Yours,
>
> Sebastian
>