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