Tao.Lua SDK Documentation

Lua.lua_Debug.what Field

the string "Lua" if the function is a Lua function, "C" if it is a C function, "main" if it is the main part of a chunk, and "tail" if it was a function that did a tail call. In the latter case, Lua has no other information about the function.

[Visual Basic]
Public what As SByte
[C#]
public sbyte what;

See Also

Lua.lua_Debug Class | Tao.Lua Namespace