static int OnItemSizeChanged(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); obj.OnItemSizeChanged(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }