Re: Ref manual; lua_State documentation
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Ref manual; lua_State documentation
- From: liam mail <liam.list@...>
- Date: 2012年5月11日 19:19:40 +0100
>> Seems conflicting to me, as the newthread only creates a thread, but still
>> returns a lua_State. Is then the lua_State description outdated?
>
> lua_State points to threads and threads point to the global state, so
> a lua_State indirectly points to the global state. We will try to
> clarify that in the manual.
> -- Roberto
>
Isn't that an implementation detail and irrelevant seeing as a
lua_State is a nice opaque data structure?