Tao.Lua SDK Documentation

Lua.lua_tothread Method 

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.

[Visual Basic]
Public Shared Function lua_tothread( _
   ByVal L As IntPtr, _
   ByVal idx As Integer _
) As IntPtr
[C#]
public static IntPtr lua_tothread(
   IntPtr L,
   int idx
);

Parameters

L
idx

Return Value

See Also

Lua Class | Tao.Lua Namespace