static int Start(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); SortingOrder obj = (SortingOrder)ToLua.CheckObject <SortingOrder>(L, 1); obj.Start(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }