pub unsafe extern "C" fn tothread(
state: lua_State,
index: i32,
) -> lua_StateExpand 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.