static int _m_WaitForFullGCComplete_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 0) { System.GCNotificationStatus gen_ret = System.GC.WaitForFullGCComplete( ); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 1 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) { int _millisecondsTimeout = LuaAPI.xlua_tointeger(L, 1); System.GCNotificationStatus gen_ret = System.GC.WaitForFullGCComplete(_millisecondsTimeout); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to System.GC.WaitForFullGCComplete!")); }
int SystemGC_m_WaitForFullGCComplete_xlua_st_(RealStatePtr L, int gen_param_count) { ObjectTranslator translator = this; if (gen_param_count == 0) { System.GCNotificationStatus gen_ret = System.GC.WaitForFullGCComplete( ); translator.Push(L, gen_ret); return(1); } if (gen_param_count == 1 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)) { int _millisecondsTimeout = LuaAPI.xlua_tointeger(L, 1); System.GCNotificationStatus gen_ret = System.GC.WaitForFullGCComplete(_millisecondsTimeout); translator.Push(L, gen_ret); return(1); } return(LuaAPI.luaL_error(L, "invalid arguments to System.GC.WaitForFullGCComplete!")); }