static int _m_getCountryCode_xlua_st_(RealStatePtr L) { try { { string gen_ret = NativeFun.getCountryCode( ); LuaAPI.lua_pushstring(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_installAPK_xlua_st_(RealStatePtr L) { try { { string _file_path = LuaAPI.lua_tostring(L, 1); NativeFun.installAPK(_file_path); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { NativeFun gen_ret = new NativeFun(); 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 NativeFun constructor!")); }