[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua states, string metatable
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 2 Dec 2014 21:05:52 -0200
> Does Lua 5.1 support having a different string metatable per state? or
> is the string metatable shared across all states? And does Lua 5.2
> support it?
In all versions of Lua that support multiple states, they are completely
separate. Nothing in one state affects the other.
Or do you mean Lua threads, instead of states? In that case, everything
is shared, except the call stack.