[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: rename lua_State
- From: Alex Queiroz <asandroq@...>
- Date: Mon, 25 Aug 2014 10:10:50 +0200
Hallo,
On Sun, Aug 24, 2014 at 10:02 PM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> As "lua_State" not actually refers to a state, but to a thread or an execution stack, could it be renamed? To something that properly reflects what it is?
>
Hmm, no.
"An opaque structure that points to a thread and indirectly (through
the thread) to the whole state of a Lua interpreter. The Lua library
is fully reentrant: it has no global variables. All information about
a state is accessible through this structure. "
Cheers,
--
-alex
http://unendli.ch/