static int EnumTestFunc(RealStatePtr L)
        {
            ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


            Tutorial.DrivenClass __cl_gen_to_be_invoked = (Tutorial.DrivenClass)translator.FastGetCSObj(L, 1);


            try {
                {
                    Tutorial.TestEnum e; translator.Get(L, 2, out e);

                    Tutorial.TestEnum __cl_gen_ret = __cl_gen_to_be_invoked.EnumTestFunc(e);
                    translator.PushTutorialTestEnum(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
        static int _m_EnumTestFunc(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                Tutorial.DerivedClass gen_to_be_invoked = (Tutorial.DerivedClass)translator.FastGetCSObj(L, 1);



                {
                    Tutorial.TestEnum _e; translator.Get(L, 2, out _e);

                    Tutorial.TestEnum gen_ret = gen_to_be_invoked.EnumTestFunc(_e);
                    translator.PushTutorialTestEnum(L, gen_ret);



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