public static void GetLua(this IntPtr l, int pos, out LuaStackPos val) { val = l.OnStack(pos); }
public static void PushLua(this IntPtr l, LuaStackPos val) { l.pushvalue(val.Pos); }