[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: rename lua_State
- From: Coroutines <coroutines@...>
- Date: Sun, 24 Aug 2014 15:49:50 -0700
On Sun, Aug 24, 2014 at 1: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?
>
> I suspect that the name was introduced before coroutines were added, which meant that a state and a thread were pretty much the same thing then.
>From my shallow knowledge of that struct, "lua_Stack" would seem more
appropriate.