Tao.Lua SDK Documentation |
|
Lua.lua_gettop Method
Returns the index of the top element in the stack. Because indices start at 1, this result is equal to the number of elements in the stack (and so 0 means an empty stack).
[Visual Basic]
Public Shared Function lua_gettop( _
ByVal
L As
IntPtr _
) As
Integer
[C#]
public static
int lua_gettop(
IntPtr L);
Parameters
-
L
-
Return Value
See Also
Lua Class | Tao.Lua Namespace