[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Checking whether a state is the top-level state
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 13 Sep 2017 11:14:20 -0300
lua_pushthread does that:
Pushes the thread represented by L onto the stack.
Returns 1 if this thread is the main thread of its state.
https://www.lua.org/manual/5.3/manual.html#lua_pushthread