lua-users home
lua-l archive

Re: lua_State matching

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


First a polite request: please don't start a new thread by replying to an existing message. It happens a *lot* lately and it is very annoying.
Asking this question differently: is a lua_State the same thing/type as a
coroutine?
From the C side: yes. Use lua_tothread to access a coroutine on the Lua stack.
--
Wim

AltStyle によって変換されたページ (->オリジナル) /