rglua::lua

Function lua_pushthread

Source
pub fn lua_pushthread(l: LuaState) -> c_int
Expand description

Pushes a given thread (representing l) to the stack.

§Parameters

  • l - The thread to push.

§Returns

1 if the thread is the main thread of the state.