static int GetShownItemByIndex(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); SuperScrollView.LoopListView2 obj = (SuperScrollView.LoopListView2)ToLua.CheckObject <SuperScrollView.LoopListView2>(L, 1); int arg0 = (int)LuaDLL.luaL_checkinteger(L, 2); SuperScrollView.LoopListViewItem2 o = obj.GetShownItemByIndex(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }