static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    XLua.ObjectTranslatorPool gen_ret = new XLua.ObjectTranslatorPool();
                    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 XLua.ObjectTranslatorPool constructor!"));
        }
        static int _m_Remove(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                XLua.ObjectTranslatorPool gen_to_be_invoked = (XLua.ObjectTranslatorPool)translator.FastGetCSObj(L, 1);



                {
                    System.IntPtr _L = LuaAPI.lua_touserdata(L, 2);

                    gen_to_be_invoked.Remove(_L);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }