lua_upvalueindex() public static method

public static lua_upvalueindex ( int i ) : int
i int
return int
 public int LuaUpValueIndex(int i)
 {
     return(LuaDLL.lua_upvalueindex(i));
 }
Beispiel #2
0
 public static int searcher(IntPtr L)
 {
     LuaDLL.lua_pushvalue(L, LuaDLL.lua_upvalueindex(1));
     LuaDLL.lua_pushvalue(L, 1);
     return(2);
 }