pub unsafe extern "C" fn tothread(
state: lua_State,
index: i32,
) -> lua_State
Expand description
Converts the value at the given acceptable index to a Lua thread (represented as lua_State
). This value must be a thread; otherwise, the function returns NULL
.