Tao.Lua SDK Documentation

Lua.lua_getmetatable Method 

Pushes onto the stack the metatable of the value at the given acceptable index. If the index is not valid, or if the value does not have a metatable, the function returns 0 and pushes nothing on the stack.

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

Parameters

L
objindex

Return Value

See Also

Lua Class | Tao.Lua Namespace